vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Forum Link Image (https://vborg.vbsupport.ru/showthread.php?t=109696)

uae 03-06-2006 10:00 PM

Forum Link Image
 
As requested in this post

This Mod will add an image in the lastpost info for any Forum Link in ForumHome and ForumDisplay.

Let's edit some templates

Open forumhome_forumbit_level1_post & forumhome_forumbit_level2_post Templates

Find

Code:

        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
Change it to

Code:

        <td class="alt2" nowrap="nowrap"><if condition="$forum['link']">
<if condition="$forum['forumid'] == x"><img src="http://url.gif" alt="blablabla" border="0" /></if>
<if condition="$forum['forumid'] == xx"><img src="http://url.gif" alt="blablabla" border="0" /></if>
<if condition="$forum['forumid'] == xxx"><img src="http://url.gif" alt="blablabla" border="0" /></if>
<if condition="$forum['forumid'] == xxxx"><img src="http://url.gif" alt="blablabla" border="0" /></if><else />$forum[lastpostinfo]</if></td>

ADD/REMOVE/CHANGE urls to your image and forum ids where x is the forum id.

Funkie 03-07-2006 08:08 AM

thx a million m8 works a treat and such fast service:)

first to click install:)

eNforce 03-07-2006 08:16 AM

Good work uae

hbalagh1 03-07-2006 08:19 AM

definitially a useful hack IMO

uae 03-07-2006 08:23 AM

Glad that you all like it :)

Xplorer4x4 03-07-2006 08:42 AM

I was going to use it, but decided not to. :p

Good work anyways.

Allan 03-07-2006 09:27 AM

Nice idea ;)

Funkie 03-07-2006 09:39 AM

how would I get rid of the - from threads and posts columns?

uae 03-08-2006 06:29 AM

Quote:

Originally Posted by Funkie
how would I get rid of the - from threads and posts columns?

That will require a lot of template changes and I ain't got the time to try that out at the moment, but I am sure it will need some heavy changes to your templates.
Sorry :ermm:

Funkie 03-08-2006 07:19 AM

ok m8 thanks


All times are GMT. The time now is 02:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01062 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete