vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Shoutbox rules and forum rules title (https://vborg.vbsupport.ru/showthread.php?t=126406)

Hornstar 09-11-2006 10:00 PM

Shoutbox rules and forum rules title
 
This was just an idea I had the other day. Since installing it, shoutbox spam has decreased, and the same with spam around the forums, it appears more people (so far) are following the rules, but it is still early days. But you can change the text to what ever you like, maybe even include an advertisement link in their. :)

Anyway it took me a few hours to figure this out because I was looking in all the wrong places when it was only a template edit that I needed to do.

So here is my second release, it is only a small template edit, but if you install it please press the Install button https://vborg.vbsupport.ru/ :)

Description
This will display on top of your shoutbox something like this:
"Shoutbox & Forum Rules: Have Fun! but No Spam, No Begging, Post in the correct section and respect fellow members."

Of course just edit the message to say what you like, and you can change the link to your forum rules as well. If you still have no idea what im on about, just take a look at the screen shot I uploaded.

You will need to edit the template "forumhome_vbshout"

Instructions
Step 1:
In the template forumhome_vbshout find:

Code:


<thead>
        <tr>
            <td class="tcat" align="center">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>
                <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox & </a>
</td>
        </tr>
        </thead>

Replace with:

Code:


<thead>
        <tr>
            <td class="tcat" align="center">
                <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_vbshout')"><img id="collapseimg_forumhome_vbshout" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_vbshout].gif" alt="" border="0" /></a>
                <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox &amp; </a>
<font color="red"> <b><a href='faq.php?faq=vb_faq#faq_new_faq_item'>Forum Rules:</a></b> Have  Fun! but No Spam, No Begging, Post in the correct section and respect fellow members.</font>
            </td>
        </tr>
        </thead>

Change the link "faq.php?faq=vb_faq#faq_new_faq_item" to your forum rules link or just change it to 'faq.php' and you are done! :)

Enjoy and remember to press the https://vborg.vbsupport.ru/ Button if you install this, so i'll update it for future vbulletin releases.

Hornstar 09-12-2006 06:53 AM

reserved

Snake 09-16-2006 12:10 PM

Very nice! :)

iran.gs 09-20-2006 03:32 PM

Installed u know I must have gone nuts how some other site did this loooooool
now i know thanks to you....

VitroX 09-21-2006 02:24 PM

good idea!,

can you lead me to a shoutbox hack which works on vb3.6.1 ?

thanks!

da420 09-21-2006 03:23 PM

vBShout 2.0 and 2.1 works on 3.6.1.

Hornstar 09-22-2006 03:28 AM

I just updated the hack now. I changed the & sign to &amp; to make it W3C CSS compliant.

You can either update this piece of code if your using it, or follow the instructions at the top of the page.

Thanks.

Andromeda2875 09-22-2006 10:58 PM

I do not have that code in my forumhome_vbshout. Is there anything else I can do?

TheBlackPoet 09-23-2006 09:03 AM

installed, tested, and works perfectly.. i just hate to think about someone actually getting put in this usergroup..

thanks man

Hornstar 09-24-2006 08:56 PM

Quote:

Originally Posted by Andromeda2875
I do not have that code in my forumhome_vbshout. Is there anything else I can do?

Post the code in code tags here of the code you do have.

Thanks.


All times are GMT. The time now is 12:22 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.01068 seconds
  • Memory Usage 1,738KB
  • 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
  • (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