vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - HS - Signature of the Week (https://vborg.vbsupport.ru/showthread.php?t=151723)

Millenium IT 09-01-2007 09:11 PM

Quote:

Originally Posted by MobileBros (Post 1330335)
hey is there anyway i can remove this from the forumhome template and only show on the forumdisplay?

Well, im not 100% sure wether this would work, but it should.

Goto Style Manager => Edit Templates => hs_sotw

Find:
HTML Code:

<if condition="$vboptions['sotw_enabled'] == 1">
Add below:
HTML Code:

<if condition="THIS_SCRIPT=='forumdisplay'">
Find:
HTML Code:

</table>
<br />

Add below:
HTML Code:

</if>
Hope it works for you ;)

applyimage 10-06-2007 07:36 PM

is this editable so I could simply have 'design of the month' as im running a graphic design forum. Maybe a thumbnail display incase the desin was too large to show the full size image. I don't like the limitations of 'sig of the week' as i dont allow images in sigantures anyway rofl.

Looks very nice i'd like to install.

lasto 10-06-2007 09:41 PM

hi m8 i like this hack but is there anyway i can stop it appearing on forumhome and just have it displayed in one of my sections ?

Wow how weird 2 posts up and someone asks same question :)

actually i only want it on certain forumdisplays (say 2) not every forum

FreshFroot 10-06-2007 09:52 PM

then you would have to add a code to your forumdisplay template..

I may install this hack.. since the other SOTW.. doesn't work properly on 3.6.8 and the creator is to busy to update it.

lasto 10-06-2007 10:08 PM

what would be the code to show on a few forumdisplays but not others ?

Millenium IT 10-06-2007 10:24 PM

Quote:

Originally Posted by lasto (Post 1354407)
what would be the code to show on a few forumdisplays but not others ?

You should read through the entire thread before replying :rolleyes:

Quote:

If you want to make it display in certain forums, go into the template FORUMDISPLAY
Code:

Find:
HTML Code:

<if condition="$show['threadslist']">
Add Above:
HTML Code:

<if condition="$forumid == 1">$hs_sotw</if>
OR if you want it to display in multiple forums...


HTML Code:

<if condition="in_array($forumid, array(1,2,2))">$hs_sotw</if>
1, 2, and 3 being the forumid's, this should work perfectly fine. If you want you can use more than three forums.

lasto 10-06-2007 11:11 PM

worked perfect thanks m8

Millenium IT 10-07-2007 08:55 AM

No problem man, were here to help ;)

lasto 10-07-2007 11:22 AM

you know what would be neat - i know its not going to happen but where avatar is - have an option to load your own pic there for example so you can give the user an Award of some type in that space.

The Realist 10-07-2007 04:30 PM

How do you change the heading from SOTH to Signature Of The Week.

I've looked in the phrases and templates and cant find a change.

Regards.


All times are GMT. The time now is 01:44 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.01144 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
  • (7)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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