The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#1787
|
||||
|
||||
![]() Quote:
I've placed My correction below with an addition: //use for individual access //if ($vbulletin->userinfo['userid'] != X) //use for usergroup access if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7)))) { print_no_permission(); exit(); } If you want to give access to only an individual then change //if ($vbulletin->userinfo['userid'] != X) to if ($vbulletin->userinfo['userid'] != X) and add change if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7)))) to //if (!(in_array($vbulletin->userinfo['usergroupid'], array(6,7)))) Then replace the X with the userid of the person you are giving shoutbox edit access. |
#1788
|
|||
|
|||
![]()
My shoutbox can't show icon? How to fix? Who can help me?
|
#1789
|
||||
|
||||
![]() Quote:
if i want multiple user ids, do i seperate by comma?? Code:
if ($vbulletin->userinfo['userid'] != 1,2,3) |
#1790
|
|||
|
|||
![]()
i love it... thanks for sharing!
questions: -who can i change the backgroundcolor of the input box? -and how do you managed the shouts... never delete or delete at 1 week or so? -change the smilies from random to the first in row (1-10) thanks |
#1791
|
|||
|
|||
![]()
yeah we could do with something like that. ive had to go into the database to delete the shouts every so often.
|
#1792
|
||||
|
||||
![]()
I notice that in the shoutbox that any time members use standard quotes (") that it comes out funky. This is what it looks like when....
"test" test "test" is typed in my shoutbox, check attachment. Any ideas of why it does this? |
#1793
|
|||
|
|||
![]()
The VBshoutbox is always a little wider then my forumframe....
it always "sticks out" ![]() Can i set the width somewhere? |
#1794
|
|||
|
|||
![]() Quote:
2. theres a php file and a cron job available to automate the deletion of posts,you will need to search this thread for CRON JOB 3. I disabled smiles as they seem to use a lot of the resources on the server so i wont be doing this one , sorry. |
#1795
|
|||
|
|||
![]() Quote:
This has been discusses loads and loads of times on this thread and there are several answers there to this issue - i'd say read back some of the older posts and youll find it. |
#1796
|
|||
|
|||
![]() Quote:
in that look for Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> |
#1797
|
|||
|
|||
![]() Quote:
try typing /PRUNE and itll save u having to go into the database |
#1798
|
|||
|
|||
![]() Quote:
do you disabled smilies only for shoutbox or for the whole forum? Smilies only increase the traffic, or am i wrong? |
#1799
|
|||
|
|||
![]()
All;
Is there anyway to prune INDIVIDUAL pages from SB? If I wished to edit out one of many pages over time as evidenced in the page history list, can this be accomplished? Otherwise - what a great feature-our patrons love it!; http://www.i-bmw.com/ |
#1800
|
||||
|
||||
![]() Quote:
Code:
// --------------------------------------------------- // Grab Latest X Shouts // --------------------------------------------------- if ($_GET['do'] == 'latest') { $Output = array(); $Shouts = $DB->query(' select s.*, u.username, u.usergroupid from '.TABLE_PREFIX.'shout s left join '.TABLE_PREFIX.'user u on (u.userid = s.s_by) order by s.sid desc limit ' . $vbulletin->options['shout_display']); while ($Shout = $DB->fetch_array($Shouts)) { Code:
$Shout['s_shout'] = str_replace('"',"''", $Shout['s_shout']); |
#1801
|
||||
|
||||
![]() Quote:
Code:
//use for miltiple individuals access if (($vbulletin->userinfo['userid'] != X1) and ($vbulletin->userinfo['userid'] != X2)) { print_no_permission(); exit(); } if you wanted to add three users you would need to add another "and" + operand: like: Code:
if (($vbulletin->userinfo['userid'] != X1) and ($vbulletin->userinfo ['userid'] != X2) and ($vbulletin->userinfo['userid'] != X3)) Code:
if (!(in_array($vbulletin->userinfo['userid'], array(X,X1,X2,X3)))) { print_no_permission(); exit(); } |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|