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 - vBshout On All Pages (https://vborg.vbsupport.ru/showthread.php?t=143534)

FRANKTHETANK 2 03-28-2007 10:00 PM

vBshout On All Pages
 
Ok fist This is ZH MOD

i just found out what the probleam was.



Color RED - Change to the name of you're root forum



~Hack name
vBShout On All Pages!

~Hack description
Will display vBShout 2.1 box on every forum page!You can choose manual instructions or just reimport this product.

~Hack options
None

~Hack info
File uploads: 0
Template edits: 0
Templates: 0
File edits: 0
Plugins: 0
SQL Queries: 0
Phrases: 0
Settings: 0

Install time: 2 minutes
Install level: Easy

~Hack installation

Step 1: Open plugin vBShout[Template Cache] and find:

Code:

  if (THIS_SCRIPT == "index")
Replace with:

Code:


if (VB_AREA == "Forum")

Step 2: Open plugin vBShout[Template Alternation],change hook location to global_start and find and delete:

Code:


function isBanned($user)
{
return (isBanned_Check($user['userid'], 'shout_banned_users') || isBanned_Check($user['usergroupid'], 'shout_banned_usergroups'));
}

function isBanned_Check($bash, $against)
{
global $vbulletin;
return in_array($bash, iif($vbulletin->options[$against], explode(',', $vbulletin->options[$against]), array()));
}

Step 3: Open the plugin again and find:

Code:

switch ($vbulletin->options['shout_position'])
{
case 1:
$Position = '<!-- what\'s going on box -->';
break;

case 2:
$Position = '<!-- end what\'s going on box -->';
break;

case 4:
$Position = '<!-- main -->';
break;

default:
$Position = '$navbar';
break;
}

$vbulletin->templatecache['FORUMHOME'] = str_replace($Position, $Position . ' $Shoutbox', $vbulletin->templatecache['FORUMHOME']);

And replace with:

Code:


$Position = '<!-- / nav buttons bar -->';
$vbulletin->templatecache['navbar'] = str_replace($Position, $Position . '<br /> $Shoutbox', $vbulletin->templatecache['navbar']);

~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

vip-q.com 03-29-2007 08:18 PM

thanks man

that very good

I did it in my web site :)

Rickeo 03-29-2007 08:29 PM

Installed and thanks

However it has added the times that shouts were posted nect to them and I dont like this feature how would I remove it thanks

~Rick~

Rickeo 03-29-2007 08:37 PM

I now also get an error upon opening and closing threads it still works but there is an error at the top of the page

~Rick~

bollie 03-30-2007 05:34 AM

work not

Rickeo 03-30-2007 04:44 PM

<font color="Teal">Okdue to little/no support here am remving the mod untill some one replies and helps me

Very disapointed

~Rick~</font>

FRANKTHETANK 2 03-30-2007 06:58 PM

you will need a vBshout.php file and you need to put this in you're root forum.

rjmjr69 03-31-2007 05:10 AM

Great fix. You should be a bit more clear on the directions and what exactly this does. At the top you claim this as a FIX of someone elses code correct?

FRANKTHETANK 2 03-31-2007 05:30 AM

yea i did work on this for a long time and i found the probleam but i did not want to give it out so my freand told me what is the point of holding it on to wean you can let other people have it.

LadyHoney 04-05-2007 06:30 PM

i put in vbshout 2.1.. and it worked on forum home page.

I added the above edites manually..... i have no shout box showing

i added the vbshout.php to my root directory... still no shouts anywhere..

i have 3.65 installed. any help appreciated.


All times are GMT. The time now is 01:32 PM.

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.01051 seconds
  • Memory Usage 1,735KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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