vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] vBShout v2.0 (https://vborg.vbsupport.ru/showthread.php?t=93097)

Leila 08-13-2006 05:35 AM

Could someone tell me why the shout board control panel would not show up but everything else is working?

mrmike 08-13-2006 07:00 PM

Hi, first of all, thanx for a great hack!

Since I installed shoutbox and my members are in index.php (startpage) the wol (who's online) is updating activity continuously even if they not do anything. Now I've installed a total time spent on board hack and the inactivity time is set for 45min before members autologout but in this case the onlinetime just go on and on as long they stay on (startpage)...

Does anyone know a solution?

btw, sorry for my bad english

/Mike

webspider 08-13-2006 07:24 PM

Shout 2.1 does work with vb 3.6.0 but there is a problem with Internet Explorer users the shout always says Loading... and when you try to post a shout IE opens a blank page.

rareclownfish 08-13-2006 10:03 PM

Hello bud, is there away to add an admin section where you can delete all the shouts at once?

webspider 08-13-2006 10:21 PM

/prune "enter" in the shout field

Thug 08-15-2006 09:32 PM

https://vborg.vbsupport.ru/showthread.php?p=1053081


Vbshout - I dont want peeps to edit/prune the shoutbox
Hi what do i do so i can change who can edit the shoutbox


eg when they click on 'shoutbox' at the top it takes them too

http://www.mysite.com/vbshout.php?do=archive


How do i change it so nobody (or only selected users) can click on edit or delete shouts on there

i have got some admin/supermods that are pruning and also randomly deleting shouts

louis_chypher 08-16-2006 01:30 AM

Quote:

Originally Posted by Thug
https://vborg.vbsupport.ru/showthread.php?p=1053081


Vbshout - I dont want peeps to edit/prune the shoutbox
Hi what do i do so i can change who can edit the shoutbox


eg when they click on 'shoutbox' at the top it takes them too

http://www.mysite.com/vbshout.php?do=archive


How do i change it so nobody (or only selected users) can click on edit or delete shouts on there

i have got some admin/supermods that are pruning and also randomly deleting shouts


trying to search this thread on "admin" would lead you to this post https://vborg.vbsupport.ru/showthrea...min#post961363 or perhaps not.

Thug 08-16-2006 08:13 AM

Quote:

Originally Posted by louis_chypher
A possible quick solution to limit access to the archive and archive functions by user group :

There is a template called forumhome_vbshout that has as part of its contents a line with the following info: <a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>

Perhaps one could possibly change that line so that it reads:

<if condition="can_moderate()">
<a href='vbshout.php?{$session['sessionurl_q']}do=archive'>Shoutbox</a>
<else />
Shoutbox
</if>

While that will not prevent a user from manually typing in the name of the link. It will prevent those without the knowledge of the links parameters from going further.

If one is a bit more interested in digging deeper one could, possibly, open the vbshout.php file and find:

if ($_GET['do'] == 'archive')
{

located around line 356/357

Then one could, possibly, insert below the line with the "{" and above the line "$navbits = array("vbshout.php?" . $vbulletin->session->vars['sessionurl'] . "do=archive" => 'Archive');"

something like:

//use for an individual access
//if ($vbulletin->userinfo['userid'] != X)
//use for usergroup access
if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7))))
{ print_no_permission();
exit();
}

Where 5=super moderators, 6=admin, 7=moderators, and (optional) X1= what ever other usergroup one wants to include (if one was not to use X1 then do remember to remove the "," as well).

Then it should be highly possible that one would, possibly, be able to highly limit the access to the Shoutbox, a most wonderful product!, archive functions.

Of course one would be on their in doing such things.:surprised:


Thanks..

if say someone wanted to edit it so more than one person had acess

they could put this instead..



if ($vbulletin->userinfo['userid'] != 1)
if ($vbulletin->userinfo['userid'] != 2)
if ($vbulletin->userinfo['userid'] != 5)
{ print_no_permission();
exit();
}


giving acess to users 1,2 and 5

:D

Thug 08-16-2006 05:25 PM

How would i make it so that if a user has 30 posts or less it shows a essage on the shoutbox saying

Sorry but you need 30 posts or more to view the shoutbox

Thug

GoNz00 08-16-2006 05:27 PM

just hide the shoubox and use usergroup promotions to make it appear at 30 :)


All times are GMT. The time now is 10:04 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.03750 seconds
  • Memory Usage 1,749KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (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