Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Images On Forumbit (forumhome) Details »»
Images On Forumbit (forumhome)
Version: 1.00, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-27-2005 Last Update: Never Installs: 31
Template Edits
 
No support by the author.

this is for the forumhome, open your "forumhome_forumbit_level2_post" template and find ;
HTML Code:
		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
add above that
HTML Code:
<if condition="in_array($forum['parentid'], array(XX,XX,XX))"><img src="$stylevars[imgdir_misc]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if>
if you want it to appear for all forums, remove the conditional, you can also just change the conditional to suit your needs better, the XX's in the conditional are to be replaced by the parentid's of your desire. the parentid is just the forumid of the catergory.



Screenie: https://vborg.vbsupport.ru/attachmen...chmentid=30323

Show Your Support

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

Comments
  #42  
Old 05-08-2006, 03:13 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm added this, it isnt kinda what i wanted tho! im looking for something like this!

http://img188.imageshack.us/img188/6...eimages7bk.jpg

so the image is before the writing, etc etc?
Reply With Quote
  #43  
Old 08-06-2006, 07:57 AM
AcidX's Avatar
AcidX AcidX is offline
 
Join Date: Jan 2006
Location: Macedonia
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone make this modification a bit more "user friendly"?
It's a really nice modification, but way too complicated for "newbies".
Reply With Quote
  #44  
Old 08-09-2006, 02:06 PM
mano1.com mano1.com is offline
 
Join Date: May 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks good i will give it a try later.. thanks
Reply With Quote
  #45  
Old 08-09-2006, 06:23 PM
offline's Avatar
offline offline is offline
 
Join Date: Oct 2002
Location: Chattanooga, TN
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know how I can get this to work when showing the full list of Sub-Forums?
Reply With Quote
  #46  
Old 08-09-2006, 06:28 PM
offline's Avatar
offline offline is offline
 
Join Date: Oct 2002
Location: Chattanooga, TN
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nevermind, make the same changes in "forumhome_forumbit_level1_post" template and it will work sub-forums also.
Reply With Quote
  #47  
Old 09-14-2006, 04:48 PM
rex_b rex_b is offline
 
Join Date: Jul 2004
Location: LA
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works on 3.6
Reply With Quote
  #48  
Old 09-18-2006, 02:16 AM
singasong singasong is offline
 
Join Date: Nov 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

For VBB 3.0 I used it:

Code:
[[Vbulletin 3 RC 2 ]] Link images Forum
By nguyenvu27
_________________________________________________________________
1 Query to run:
ALTER TABLE `forum` ADD `i_link` VARCHAR(50) NOT NULL DEFAULT '' ;
_________________________________________________________________
1 Files to edit:

admincp/forum.php
2 Templates edit: 
  forumhome_forumbit_level1_post
  forumhome_forumbit_level2_post

---

Begin :
in file admincp/forum.php
=================================
print_input_row($vbphrase['title'], 'forum[title]', $forum['title']);
print_textarea_row($vbphrase['description'], 'forum[description]', $forum['description']);

=================================

add below it :
=================================
print_input_row($vbphrase['i_link'], 'forum[i_link]', $forum['i_link']);
=================================

 
Find:
=================================
      $forum['options'] = convert_array_to_bits($options, $_FORUMOPTIONS);
      $forum['title'] = convert_to_valid_html($forum['title']);      
=================================
add below :
=================================
      $forum['i_link'] = convert_to_valid_html($forum['i_link']);
=================================
save adn upload file admincp/forum.php

go to admincp and :
   creat new phrase from url :

http://www.yoursite.com/pathboard/admincp/phrase.php?do=add
  
===================
varname : i_link
Text : creat forum images .insert url to images (ex : linkimages/one.gif and folder linkimages into root your forums)
===================

Edit templates  
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post
  
find :
=============================
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
=============================
   
insert code :
=============================
<if condition="$forum['i_link']">
<img src="$forum[i_link]">
</if>
=============================

~~well done ! have fun ~~
1: Use only if on a liecenced vb board
2: Enjoy!
and have:



But it not run in VBB 3.6
I want do like it, help me... hic hic...
Reply With Quote
  #49  
Old 05-23-2007, 06:34 AM
dannylin3000 dannylin3000 is offline
 
Join Date: Jan 2007
Location: Taipei, Taiwan
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi sabret00the,

Was wondering if you could help a similiar feature like this mod?

- I'd like to show a thumb of images posted within a post (was flagged as "best selected post" and do have a flag called "bestselected") from a specified forum ID on my forum home.

or

- instead of showing a fixed image for each forum (like this mod), maybe we can show the thumb of images posted within the latest post from that forum?
Reply With Quote
  #50  
Old 06-26-2008, 11:37 AM
callumbush callumbush is offline
 
Join Date: May 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the instructions for this mod are absolutely awful
I can't figure It out
Reply With Quote
  #51  
Old 06-26-2008, 01:42 PM
callumbush callumbush is offline
 
Join Date: May 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

right i've figured it out now - cheers Katman!

1. Also you need to put the images in the root folder in order for it to work - how can i correct this? Here is the code:

<if condition="in_array($forum['forumid'], array(XX,XX,XX))"><img src="$stylevars[imgdir_misc]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if>

2. The images do not click through to the respective forum. How can I correct this?
Reply With Quote
Reply


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 08:39 PM.


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.04708 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (2)bbcode_html
  • (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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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