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.

gamerzindo 09-30-2006 09:32 AM

woot thanks hornstar..:)

oberheimhaven 10-01-2006 11:42 PM

clicks Installed
thxs nice hack
MarkAnthony

Shazz 10-02-2006 12:06 AM

Just find

PHP Code:

Shoutbox 

Then Change that to whatever you desire... Thats the same thing ?

Hornstar 10-09-2006 08:56 AM

Quote:

Originally Posted by Shazz
Just find

PHP Code:

Shoutbox 

Then Change that to whatever you desire... Thats the same thing ?

Not exactly ;) but pretty much, it is only a simple template edit, but still something that has helped at least 20 people because it was clear instructions. :)

Stromba 10-13-2006 12:17 AM

Nice,

Good work..!!

Cagonni 10-13-2006 02:06 AM

is it possible to see shoutbox on every pages?

Hornstar 10-15-2006 04:47 PM

Quote:

Originally Posted by Cagonni
is it possible to see shoutbox on every pages?

Yes, I have seen that modification before. Search shoutbox and im sure you will find all the shoutbox modifications.

Chicago_VLNU_4s 03-25-2007 11:09 AM

nice, I'll do this later on. Installed

dvbusuario 02-09-2008 05:49 AM

Very good... Thank You.

ronitdeep 04-06-2008 10:17 AM

i have installed the shoutbox..
but i dont have the template "forumhome_vbshout"

so please tell me what can i do now??

Hornstar 04-06-2008 10:21 AM

Quote:

Originally Posted by ronitdeep (Post 1484248)
i have installed the shoutbox..
but i dont have the template "forumhome_vbshout"

so please tell me what can i do now??

Which shoutbox have you got installed? Link me.

ronitdeep 05-15-2008 03:38 PM

i am using cyb chatbox for 6.9

Hornstar 05-15-2008 07:47 PM

Quote:

Originally Posted by ronitdeep (Post 1520635)
i am using cyb chatbox for 6.9

I might install that later and give you some instructions on how to give it a better title.

This modification is only for inferno shoutbox tho.

ronitdeep 05-18-2008 05:46 PM

thanks mate... i will surly wait for your guidance ...

Hornstar 05-19-2008 07:11 AM

Quote:

Originally Posted by ronitdeep (Post 1523840)
thanks mate... i will surly wait for your guidance ...

https://vborg.vbsupport.ru/showthread.php?t=179767


All times are GMT. The time now is 07:58 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.01324 seconds
  • Memory Usage 1,764KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete