Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Forum Link Image Details »»
Forum Link Image
Version: 1.00, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-06-2006 Last Update: Never Installs: 21
Template Edits
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-10-2006, 09:10 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bro!
Reply With Quote
  #13  
Old 03-23-2006, 09:33 PM
Funkie Funkie is offline
 
Join Date: Nov 2001
Location: uk
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made a slight change allows image to become the link too



Code:
<td class="alt2" nowrap="nowrap"><if condition="$forum['link']">
<if condition="$forum['forumid'] == X"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] == XX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] == XXX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if>
<if condition="$forum['forumid'] ==XXXX"><a href="http://url of link of image"><img src="url.gif" alt="blablabla" border="0" /></a></if><else />$forum[lastpostinfo]</if></td>

Hope you don't mind and thanks again you can even add a paypal donation button like this after getting the html from paypal

Code:
<td class="alt2" nowrap="nowrap"><if condition="$forum['link']">
<if condition="$forum['forumid'] == X"><form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="you@your domain.com">
<input type="hidden" name="item_name" value="Domain and Maintenance Donations">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form></if><else />$forum[lastpostinfo]</if></td>
Reply With Quote
  #14  
Old 04-18-2006, 01:45 PM
dirtycrow dirtycrow is offline
 
Join Date: Apr 2004
Posts: 350
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what size should the images be to fit perfectly in the field?
Reply With Quote
  #15  
Old 11-20-2006, 11:30 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this add-on !!!!!

How to make the image span also Threads-count and Posts-count column next to Lastpost column?

That will be wonderfull place for SQUARE BANNERS :-) You should then also rename the thread to SQUARE BANER ON FORUMHOME or something and you will get more installs .-) I BET

Thanks!!!!
Reply With Quote
  #16  
Old 12-27-2006, 08:29 PM
TedR719 TedR719 is offline
 
Join Date: Nov 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any help with what im trying to do in this post?

https://vborg.vbsupport.ru/showthrea...+in+forum+link
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07270 seconds
  • Memory Usage 2,249KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete