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)
-   -   Images On Forumbit (forumhome) (https://vborg.vbsupport.ru/showthread.php?t=99500)

Smiry Kin's 05-08-2006 03:13 PM

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?

AcidX 08-06-2006 07:57 AM

Could someone make this modification a bit more "user friendly"?
It's a really nice modification, but way too complicated for "newbies". ;)

mano1.com 08-09-2006 02:06 PM

this looks good i will give it a try later.. thanks

offline 08-09-2006 06:23 PM

Anyone know how I can get this to work when showing the full list of Sub-Forums?

offline 08-09-2006 06:28 PM

Nevermind, make the same changes in "forumhome_forumbit_level1_post" template and it will work sub-forums also.
:)

rex_b 09-14-2006 04:48 PM

works on 3.6

singasong 09-18-2006 02:16 AM

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:

http://img242.imageshack.us/img242/8566/mhdd4.jpg

But it not run in VBB 3.6
I want do like it, help me... hic hic...

dannylin3000 05-23-2007 06:34 AM

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?

callumbush 06-26-2008 11:37 AM

the instructions for this mod are absolutely awful
I can't figure It out

callumbush 06-26-2008 01:42 PM

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?


All times are GMT. The time now is 06:14 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.01057 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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