Jump to content

corn

Rookie
  • Posts

    16
  • Joined

  • Last visited

Everything posted by corn

  1. corn

    webflake???

    not if its alaways down
  2. corn

    webflake???

    is anyone from here ddosing their hosting site pixelatedhosting? its down atm and thats i use them for hosting -.-
  3. corn

    webflake???

    why does webflake keep going down wtf?
  4. Would that not be a huge inconvenience for a web/forum developer/designer? lol.
  5. Use ftp go to public/style_images/ the image file for your style /profile upload the image u want to use as the default avatar. name it default_large.png and overwrite the current default_large.png
  6. yes...this is a default feature..unless you mean something else?
  7. here is what the problem is: http://prntscr.com/103moi i want a space between the "follow" button and download button its fine when someone adds tags to the file, but if theres none then they are touching each other, how can i fix this? any help please?
  8. Maybe look for a tutorial on how to even use IPB
  9. sorry about that, i just realized how big the code actually was
  10. hi, i cant get the name of the file in the template fileDisplay to be shown in <h1 class='maintitle'></h1> here is my fileDisplay template: {parse js_module="rating"}{parse template="include_lightbox" group="global" params=""}{parse template="include_highlighter" group="global" params="1"}<h1 class='maintitle'></h1><div class='ipsBox clear'> <div class='<if test="fileUnapprovedClass:|:!$file['file_open']">moderated<else />ipsBox_container</if> ipsPad'> <div class='ipsLayout ipsLayout_withright ipsLayout_bigright clearfix'> <div class='ipsLayout_right'> <h3 class='bar'>{$this->lang->words['submitter']}</h3> <div class='ipsPad clearfix ipsSideBlock' id='submitter_info'> {parse template="userSmallPhoto" group="global" params="$file"} <span class='ipsType_subtitle ipsPad'> <if test="guestsubmitter:|:$file['file_submitter'] == 0 OR !$file['members_display_name']">{$this->lang->words['global_guestname']}<else />{parse template="userHoverCard" group="global" params="$file"}</if> <if test="canchangeauthor:|:$this->registry->getClass('idmFunctions')->checkPerms( $file, 'modchangeauthor' )"> <a href='#' id='change_author' rel='{$file['file_id']}' title='{$this->lang->words['change_author']}'><img src='{$this->settings['img_url']}/display_name.png' alt='' title='{$this->lang->words['change_author']}' /></a> </if> </span> <if test="filesearchauthor:|:$file['file_submitter']"> <br /><a class='ipsPad' href='{parse url="app=core&amp;module=search&amp;do=user_activity&amp;search_app=downloads&amp;mid={$file['file_submitter']}" base="public"}'>{$this->lang->words['viewmember_other_files']}</a> </if> </div> <if test="canchangeauthorform:|:$this->registry->getClass('idmFunctions')->checkPerms( $file, 'modchangeauthor' )"> <div class='pad clearfix' id='change_author_box' style='display: none'> <form style='display:inline;' action='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=updateAuthor&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' method='post'> <label for="change_author_input"><strong>{$this->lang->words['change_author_name']}</strong></label> <input type='text' class='input_text' name='change_author_input' id='change_author_input' /> <input type='submit' class='input_submit' value='{$this->lang->words['change_author_submit']}' /> </form> </div> </if> <h3 class='bar'> <if test="filehastopic:|:$category['coptions']['opt_topice'] && $file['file_topicid']"> <span class='right'> <a href='{parse url="showtopic={$file['file_topicid']}" base="public" template="showtopic" seotitle="{$file['file_topicseoname']}"}' data-tooltip="{$this->lang->words['file_support_tooltip']}"> <span class='ipsBadge ipsBadge_grey'>{$this->lang->words['file_support']}</span> </a> </span> </if> {$this->lang->words['file_information']} </h3> <div class='ipsPad ipsSideBlock'> <ul class='ipsList_data'> <li> <strong class='title'>{$this->lang->words['submittedon']}:</strong> {parse date="$file['file_submitted']" format="short"} </li> <li> <strong class='title'>{$this->lang->words['lastupdated']}:</strong> {parse date="$file['file_updated']" format="short"} </li> <li> <strong class='title'>{$this->lang->words['filesize']}:</strong> <if test="hasSize:|:$file['file_size']">{IPSLib::sizeFormat( $file['file_size'] )}<else />{$this->lang->words['filesize_unknown']}</if> </li> <li> <strong class='title'>{$this->lang->words['fileviews']}:</strong> {$file['file_views']} </li> <if test="hasNexus:|:IPSLib::appIsInstalled('nexus') && $this->settings['idm_nexus_on'] && $file['file_cost']"> <li> <strong class='title'>{$this->lang->words['filepurchases']}:</strong> {$file['file_purchases']} </li> </if> <li> <strong class='title'>{$this->lang->words['filedownloads']}:</strong> <if test="fileviewdownloads:|:$this->settings['idm_logalldownloads'] AND ( $this->memberData['idm_view_downloads'] OR ( $this->settings['submitter_view_dl'] && $this->memberData['member_id'] == $file['file_submitter'] ) )"><a href='{parse url="app=downloads&amp;module=display&amp;section=downloaders&amp;id={$file['file_id']}" base="public"}' class='view-downloads' id='view-downloads-{$file['file_id']}'></if> {parse format_number="$file['file_downloads']"} <if test="fileviewdownloadsclose:|:$this->settings['idm_logalldownloads'] AND ( $this->memberData['idm_view_downloads'] OR ( $this->settings['submitter_view_dl'] && $this->memberData['member_id'] == $file['file_submitter'] ) )"></a></if> </li> <if test="fileshowapprover:|:$this->settings['idm_show_approver'] OR $permissions['can_approve']"> <if test="filehasapprover:|:$file['file_approver']"> <li> <strong class='title'>{$this->lang->words['file_approvedby']}:</strong> {IPSMember::makeProfileLink($file['approver_name'], $file['file_approver'], $file['file_approver_seoname'])} </li> <li> <strong class='title'>{$this->lang->words['file_approvedon']}:</strong> {parse date="$file['file_approvedon']" format="long"} </li> </if> </if> <if test="filecustomfields:|:count($file['custom_fields'])"> <foreach loop="cfields:$file['custom_fields'] as $data"> <li> <strong class='title'>{$data['title']}:</strong> {$data['data']} </li> </foreach> </if> </ul> </div> <if test="fileversions:|:$this->settings['idm_versioning'] && is_array($old_versions) && count($old_versions)"> <h3 class='bar'>{$this->lang->words['previous_versions']}</h3> <div class='ipsPad ipsSideBlock'> <ul class='ipsList_data' id='versions'> <foreach loop="file_rows:$old_versions as $data"> <li<if test="fileversionhidden:|:$data['b_hidden']"> class='moderated'</if>> <span class='desc right'>{parse date="$data['b_updated']" format="date"}</span> <span class='version_control right'> <a href='{parse url="app=downloads&amp;module=display&amp;section=download&amp;do=version_download&amp;id={$data['b_id']}" base="public"}' title='{$this->lang->words['bversion_alt_download']}'><img src='{$this->settings['img_url']}/downloads/idm_down.png' alt='{$this->lang->words['bversion_alt_download']}' /></a> <if test="versionscandelete:|:$permissions['can_delete']==1"> <a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=versions&amp;id={$data['b_fileid']}&amp;process=restore&amp;rid={$data['b_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['bversion_alt_restore']}'><img src='{$this->settings['img_url']}/downloads/idm_refresh.png' alt='{$this->lang->words['bversion_alt_restore']}' /></a> <a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=versions&amp;id={$data['b_fileid']}&amp;process=delete&amp;rid={$data['b_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['bversion_alt_delete']}' onclick='return confirm("{$this->lang->words['revision_delete_confirm']}");'><img src='{$this->settings['img_url']}/downloads/idm_delete.png' alt='{$this->lang->words['bversion_alt_delete']}' /></a> </if> <if test="versionscanapp:|:$permissions['can_approve']"> <if test="versionshidden:|:$data['b_hidden']==1"> <a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=versions&amp;id={$data['b_fileid']}&amp;process=unhide&amp;rid={$data['b_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['bversion_alt_unhide']}'><img src='{$this->settings['img_url']}/downloads/idm_unhide.png' alt='{$this->lang->words['bversion_alt_unhide']}' /></a> <else /> <a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=versions&amp;id={$data['b_fileid']}&amp;process=hide&amp;rid={$data['b_id']}&amp;secure_key={$this->member->form_hash}" base="public"}' title='{$this->lang->words['bversion_alt_hide']}'><img src='{$this->settings['img_url']}/downloads/idm_hide.png' alt='{$this->lang->words['bversion_alt_hide']}' /></a> </if> </if> </span> <strong>{$data['b_filetitle']} <if test="previousversion:|:$data['b_version']">{$data['b_version']}</if></strong> </foreach> </ul> </div> </if> </div> <div class='ipsLayout_content'> <if test="fileisbroke:|:$file['file_broken']"> <php> $brokenInfo = explode( "|", $file['file_broken_info'] ); $date = "{parse date="$brokenInfo[2]" format="short"}"; </php> <div class='message error'> <h3>{$this->lang->words['file_broken_text']}: {$file['file_broken_reason']}</h3> <if test="filetestbroken:|:$permissions['can_broken']"> {parse expression="sprintf( $this->lang->words['file_broken_info'], IPSMember::makeProfileLink( $brokenInfo[1], $brokenInfo[0] ), $date )"} </if> </div> <br class='clear' /> </if> <h1 class='ipsType_pagetitle'> <if test="paidFile:| $file['file_cost'] or $file['file_nexus'] ) AND $this->memberData['member_id'] != $file['file_submitter']"> <if test="hasPurchases:|:count($purchases)"> <a href='#' id='purchasesmenu' class='download_button rounded right ipbmenu'>{$this->lang->words['manage_file_purchases']}</a> <ul class="ipbmenu_content" id='purchasesmenu_menucontent' style='display: none'> <li><a href='{parse url="app=downloads&amp;module=display&amp;section=download&amp;do=buy&amp;id={$file['file_id']}" base="public" template="idmbuy" seotitle="{$file['file_name_furl']}"}'>{$this->lang->words['dpage_buy_another']}</a></li> <foreach loop="$purchases as $purchase"> <if test="isDownloadsPurchase:|:$purchase['ps_app'] == 'downloads'"> <if test="isActive:|:$purchase['ps_active']"> <if test="$this->hasActivePurchase=true"></if> <if test="$purchase['ps_renewals']"> <li><a data-confirmaction="{parse expression="sprintf( $this->lang->words['cancel_confirm'], $this->lang->getDate( $purchase['ps_expire'], 'SHORT' ) )"}" href='{parse url="app=downloads&amp;module=display&amp;section=purchases&amp;do=cancel&amp;secure_key={$this->member->form_hash}&amp;id={$purchase['ps_id']}" base="public""}'>{$this->lang->words['file_cancelpurchase']} {parse expression="sprintf($this->lang->words['file_purchid'], $this->lang->getDate( $purchase['ps_expire'], 'SHORT' ))"}</a></li> </if> </if> <if test="isCancelled:|:$renewal_terms and !$purchase['ps_renewals'] and $purchase['ps_can_reactivate']"> <li><a data-confirmaction="{$this->lang->words['reactivate_confirm']}" href='{parse url="app=downloads&amp;module=display&amp;section=purchases&amp;do=reactivate&amp;secure_key={$this->member->form_hash}&amp;id={$purchase['ps_id']}" base="public""}'>{$this->lang->words['file_reactivate']} {parse expression="sprintf($this->lang->words['file_purchid'], $this->lang->getDate( $purchase['ps_expire'], 'SHORT' ))"}</a></li> <else /> <if test="showRenew:|:!$purchase['ps_active']"> <li><a href='{parse url="app=nexus&amp;module=clients&amp;section=purchases&amp;do=renew&amp;secure_key={$this->member->form_hash}&amp;id={$purchase['ps_id']}" base="public""}'>{$this->lang->words['file_renew']} {parse expression="sprintf($this->lang->words['file_purchid'], $this->lang->getDate( $purchase['ps_expire'], 'SHORT' ))"}</a></li> </if> </if> <else /> <if test="isNexusActive:|:$purchase['ps_active']"> <if test="$this->hasActivePurchase=true"></if> </if> <li><a href='{parse url="app=nexus&amp;module=clients&amp;section=purchases&amp;do=view&amp;id={$purchase['ps_id']}" base="public""}'>{parse expression="sprintf( $this->lang->words['file_nexus_manage'], $purchase['ps_name'] )"}<if test="nexusexpirep:|:$purchase['ps_expire']"> {parse expression="sprintf($this->lang->words['file_purchid'], $this->lang->getDate( $purchase['ps_expire'], 'SHORT' ))"}</if></a></li> </if> </foreach> </ul> <else /> <a href='{parse url="app=downloads&amp;module=display&amp;section=download&amp;do=buy&amp;id={$file['file_id']}" base="public" template="idmbuy" seotitle="{$file['file_name_furl']}"}' class='download_button rounded right'> {$this->lang->words['dpage_buy']} </a> </if> </if> <if test="canDownload:|:!($file['file_cost'] or $file['file_nexus']) OR $this->hasActivePurchase OR $this->memberData['idm_bypass_paid'] OR $this->memberData['member_id'] == $file['file_submitter']"> <if test="dynUrls:|:$this->settings['idm_dynamic_urls']"> <a href='{parse url="app=downloads&amp;module=display&amp;section=download&amp;do=confirm_download&amp;hash={$hash}" base="public" template="idmdd" seotitle="{$file['file_name_furl']}"}' class='download_button rounded right'> <else /> <a href='{parse url="app=downloads&amp;module=display&amp;section=download&amp;do=confirm_download&amp;id={$file['file_id']}" base="public" template="idmdownload" seotitle="{$file['file_name_furl']}"}' class='download_button rounded right'> </if> {$this->lang->words['dpage_button_short']} </a> </if> {$file['file_name']} <if test="hasversion:|:$file['file_version']">{$file['file_version']}</if> </h1> <if test="canRate:|:$this->registry->getClass('categories')->cat_lookup[ $category['cid'] ]['perm_6']"> <foreach loop="filerateCycle:array(1,2,3,4,5) as $_rating"> <if test="memberRateStart:|:$this->memberData['member_id'] && ( !$this->settings['must_dl_rate'] OR $downloaded )"> <a href='{parse url="app=downloads&amp;module=ajax&amp;section=rate&amp;id={$file['file_id']}&amp;rating={$_rating}&amp;secure_key={$this->member->form_hash}" base="public"}' id='file_rate_{$_rating}' title='{$this->lang->words['rate_file_'.$_rating]}'> </if> <if test="filerate:|:$file['file_rating'] >= $_rating"> {parse replacement="rate_on"} <else /> {parse replacement="rate_off"} </if> <if test="memberRateEnd:|:$this->memberData['member_id'] && ( !$this->settings['must_dl_rate'] OR $downloaded )"> </a> </if> </foreach> <span id='rating_text' class='desc'> <if test="filevotes:|:$file['_rate_cnt'] > 0">{$file['_rate_cnt']} {$this->lang->words['votes_cnt']}</if> <if test="fileyourvote:|:$file['_rating_value']">({$this->lang->words['you_voted']} {$file['_rating_value']})</if> </span> <if test="checkGuestRate:|:$this->memberData['member_id']"> <if test="mustHaveDownloaded:|:!$this->settings['must_dl_rate'] OR $downloaded"> <script type='text/javascript'> rating = new ipb.rating( 'file_rate_', { url: ipb.vars['base_url'] + 'app=downloads&amp;module=ajax&amp;section=rate&amp;id={$file['file_id']}&amp;xml=1&md5check=' + ipb.vars['secure_hash'], cur_rating: {$file['file_rating']}, rated: <if test="filejsvotes:|:$file['_rating_value']">1<else />0</if>, allow_rate: <if test="filejsallowvote:|:in_array( $category['cid'], $this->registry->getClass('categories')->member_access['rate'] )">1<else />0</if> } ); </script> </if> </if> </if> <if test="fileCost:|:$file['file_cost']"> <br /> <span class='purchase_price right'> {parse expression="ipsRegistry::getClass('class_localization')->formatMoney( $file['file_cost'], false )"} <if test="renewals:|:$renewal_terms"> ( {$renewal_terms} ) </if> </span> <br /> </if> <if test="hasTags:|:is_array($file['tags'])"> <br /> {$file['tags']['formatted']['parsedWithoutComma']} </if> <br class='clear' /> {$like} <br class='clear' /> <br /><br /> <if test="allowss:|:$category['coptions']['opt_allowss']"> <if test="hasssssss:|:count($screenshots)"> <foreach loop="p_eachscreenshot:$screenshots as $screenshot"> <if test="p_findprimary:|:$screenshot['record_default']"> <if test="p_ssupload:|:$screenshot['record_type'] == 'ssupload'"> <a class='screenshot primary' href='{$this->registry->idmFunctions->returnScreenshotUrl( $screenshot, false )}' <if test="p_fileinfolightbox:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$this->registry->idmFunctions->returnScreenshotUrl( $screenshot )}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <if test="p_getremotesize:|:$ssurl = @getimagesize($screenshot['record_location']) AND $category['coptions']['opt_thumb_x'] AND $ssurl[0] > $category['coptions']['opt_thumb_x']"> <a class='screenshot primary' href='{$screenshot['record_location']}' <if test="p_fileinfolightbox2:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' width='{$category['coptions']['opt_thumb_x']}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <if test="p_getremotesize2:|:$ssurl = @getimagesize($screenshot['record_location']) AND !$category['coptions']['opt_thumb_x'] AND $ssurl[0] > $this->settings['idm_default_dimensions']"> <a class='screenshot primary' href='{$screenshot['record_location']}' <if test="p_fileinfolightbox3:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' width='{$this->settings['idm_default_dimensions']}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <a class='screenshot primary' href='{$screenshot['record_location']}' <if test="p_fileinfolightbox4:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' alt='{$this->lang->words['filescreenshot']}' /></a> </if> </if> </if> </if> </foreach> </if> </if> <div class='ipsType_textblock ipsPad_half description_content'> {$file['file_desc']} </div> <br /> <if test="haschangelog:|:$file['file_changelog']"> <php>$this->_whatsnew = explode( "n", $file['file_changelog'] );</php> <if test="haschanges:|:is_array($this->_whatsnew) AND count($this->_whatsnew)"> <if test="changelogversion:|:$file['file_version']"><h3>{$this->lang->words['whats_new_in_v']} {$file['file_version']} (<a href='{parse url="app=downloads&amp;module=display&amp;section=changelog&amp;file={$file['file_id']}" base="public"}' id='full-changelog'>{$this->lang->words['see_full_changelog']}</a>)</h3><else /><h3>{$this->lang->words['changelog']} (<a href='{parse url="app=downloads&amp;module=display&amp;section=changelog&amp;file={$file['file_id']}" base="public"}' id='full-changelog'>{$this->lang->words['see_full_changelog']}</a>)</h3></if> <div class='description'> <ul class='bullets'> <foreach loop="changes:$this->_whatsnew as $_new"> <if test="hasChangelog2:|:$_new"><li>{$_new}</li></if> </foreach> </ul> </div> <br /> </if> </if> <br /> <if test="allowsss:|:$category['coptions']['opt_allowss']"> <if test="hassss:|:count($screenshots) > 1"> <h3>{$this->lang->words['filescreenshot']}</h3> <div id='file_screenshots'> <foreach loop="eachscreenshot:$screenshots as $screenshot"> <if test="notPrimary:|:!$screenshot['record_default']"> <if test="ssupload:|:$screenshot['record_type'] == 'ssupload'"> <a class='screenshot' href='{$this->registry->idmFunctions->returnScreenshotUrl( $screenshot, false )}' <if test="fileinfolightbox:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$this->registry->idmFunctions->returnScreenshotUrl( $screenshot )}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <if test="getremotesize:|:$ssurl = @getimagesize($screenshot['record_location']) AND $category['coptions']['opt_thumb_x'] AND $ssurl[0] > $category['coptions']['opt_thumb_x']"> <a class='screenshot' href='{$screenshot['record_location']}' <if test="fileinfolightbox2:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' width='{$category['coptions']['opt_thumb_x']}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <if test="getremotesize2:|:$ssurl = @getimagesize($screenshot['record_location']) AND !$category['coptions']['opt_thumb_x'] AND $ssurl[0] > $this->settings['idm_default_dimensions']"> <a class='screenshot' href='{$screenshot['record_location']}' <if test="fileinfolightbox3:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' width='{$this->settings['idm_default_dimensions']}' alt='{$this->lang->words['filescreenshot']}' /></a> <else /> <a class='screenshot' href='{$screenshot['record_location']}' <if test="fileinfolightbox4:|:$this->settings['idm_ss_popup'] == 'l'">rel='lightbox[screenshot]'<else />rel='external'</if>><img src='{$screenshot['record_location']}' alt='{$this->lang->words['filescreenshot']}' /></a> </if> </if> </if> </if> </foreach> </div> </if> </if> <br /> <if test="hasmemberid:|:$this->memberData['member_id']"> <br /><br /> <ul class='post_controls'> <if test="filenotbroken:|:!$file['file_broken'] AND $this->memberData['idm_report_files']"> <li class='report'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=broken&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['reportbroken']}</a></li> </if> <if test="filerestorelink:|:$permissions['can_delete'] AND $this->settings['idm_versioning'] AND $file['_last_revision']"> <li class='post_del'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=versions&amp;id={$file['file_id']}&amp;process=restore&amp;rid={$file['_last_revision']['b_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['restorefile']}</a></li> </if> <if test="fileeditlink:|:$permissions['can_edit']"> <if test="canversion:|:$this->settings['idm_versioning'] AND $this->settings['idm_filestorage'] == 'disk'"> <li class='post_edit'><a href='#' onclick='return ipb.downloads.editLink( "{parse url="app=downloads&amp;module=post&amp;section=submit&amp;do=edit_main&amp;id={$file['file_id']}" base="public"}" );'>{$this->lang->words['newversion']}</a></li> </if> <if test="norevision:|:$this->memberData['idm_bypass_revision'] OR !$this->settings['idm_versioning'] OR $this->settings['idm_filestorage'] != 'disk'"> <li class='post_edit'><a href='#' onclick='return ipb.downloads.editLink( "{parse url="app=downloads&amp;module=post&amp;section=submit&amp;do=edit_main&amp;id={$file['file_id']}&amp;bypass_revision=1" base="public"}" );'>{$this->lang->words['editfile']}</a></li> </if> </if> <if test="filedeletelink:|:$permissions['can_delete']"> <li class='post_del'><a class='delete_link' href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=delete&amp;return=1&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['deletefile']}</a></li> </if> <if test="fileapprovelink:|:$permissions['can_approve'] AND $file['file_open']"> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=togglefile&amp;return=1&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['unnapprovefile']}</a></li> <else /> <if test="fileunapprovelink:|:$permissions['can_approve'] AND !$file['file_open']"> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=togglefile&amp;return=1&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['approvefile']}</a></li> </if> </if> <if test="filepinlink:|:$permissions['can_pin'] AND $file['file_pinned']"> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=unpin&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['unpin_file']}</a></li> <else /> <if test="fileunpinlink:|:$permissions['can_pin'] AND !$file['file_pinned']"> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=pin&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['pin_file']}</a></li> </if> </if> <if test="filefeature:|:$permissions['can_feature'] AND $this->settings['idm_use_portal']"> <if test="fileisfeatured:|:$file['file_featured']"> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=setFeatured&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['unset_featured_file']}</a></li> <else /> <li class='post_toggle'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=setFeatured&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['set_featured_file']}</a></li> </if> </if> <if test="fileunbreak:|:$permissions['can_broken'] AND $file['file_broken']"> <li class='report'><a href='{parse url="app=downloads&amp;module=moderate&amp;section=moderate&amp;do=notbroken&amp;id={$file['file_id']}&amp;secure_key={$this->member->form_hash}" base="public"}'>{$this->lang->words['unreportbroken']}</a></li> </if> </ul> </if> </div> </div> </div></div><if test="hasShareLinks:|:$this->settings['sl_enable']"> <div class='ipsPad'> {IPSLib::shareLinks( $file['file_name'] )} </div></if><if test="hasComments:|:$category['coptions']['opt_comments']"> <br /> {$comments['html']}</if><if test="hasSimilar:|:count($similar['results'])"> <br /> <div class='ipsBox'> <div class='ipsBox_container ipsPad download_pane'> <h2 class='ipsType_subtitle'>{$this->lang->words['similarfiles_header']}</h2> <br /> <div class='pane_wrap four_column' id='similar-files_wrap'> <ul id='similar-files'> <foreach loop="similarFiles:$similar['results'] as $data"> {parse template="portalPaneItem" group="downloads" params="$data, 'new', $similar['records']"} </foreach> </ul> </div> </div> </div></if>{parse template="include_highlighter" group="global" params=""} this is my current output and i want "ipb carbon blue all version" to be inside the blue header, which again is <h1 class='maintitle'></h1>, really all i need is the code that outputs the file name thanks in advanced.
  11. This just ruined my site, nothing is working after doing this, i can't even load my files in my file manager, thanks alot...
×
×
  • Create New...