any news on being able to merge a thread into the shoutbox?
I'll probably make that after I squash all the bugs and release 1.0 Final. I can confirm a bug when a user in coventry shouts and someone who does not have permission to view shouts by coventry users sees the shout before and after it, the backgrounds are the same.
lol, i thought i had, but i'm almost ashamed to admit this, i forgot to remove the ? off of the end or i must have added an extra char. I ran it again just now and it's worked
<a href="http://forums.rebelliongfx.com/adv_index.php" target="_blank">http://forums.rebelliongfx.com/adv_index.php</a>
i tried to add the shoutbox on another page... the phrases dont show up and the scroll-section where the shouts should be dont show up
if it doesnt take a lot of your time could you possibly tell me how i could fix it
Thanks alot
http://forums.rebelliongfx.com/adv_index2.php
i edited it just like i edited the index.php page and now its fine except the same messages repeat themselves alot of time... theres about 9 messages and they repeat untill theres 50...?
i think it has something to do with this code:
PHP Code:
require_once('./includes/functions_bbcodeparse.php');
if ($vboptions['shoutbox_forumhomeshouts'] == 1) {
$noviewperms = $vbphrase['shoutbox_noviewperms'];
$shoutbox_posts = $DB_site->query("
SELECT s.*, u.username AS absusername
FROM " . TABLE_PREFIX . "shoutbox_posts s
LEFT JOIN " . TABLE_PREFIX . "user u ON (s.userid=u.userid)
WHERE deleted='0'
ORDER BY time DESC LIMIT $vboptions[shoutbox_numberofforumhomeshouts] ");
while ($shoutbox_post=$DB_site->fetch_array($shoutbox_posts)) {
if ($tachyuser != in_coventry($shoutbox_post['userid'])) {
if (($permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
$shout_tachygoestocoventry = 1;
} elseif (!($permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
$screwyoucoventryshout = 1;
}
}
$shoutbox_post_date = vbdate($vboptions['dateformat'], $shoutbox_post['time'], 1);
$shoutbox_post_time = vbdate($vboptions['timeformat'], $shoutbox_post['time']);
$shoutbox_post_text = $shoutbox_post['text'];
// In case you have the /me code hack...
$post['username'] = $shoutbox_post['username'];
$shoutbox_text = parse_bbcode2("$shoutbox_post_text", $vboptions['shoutbox_allowhtml'], $vboptions['shoutbox_allowimage'], $vboptions['shoutbox_allowsmilies'], $vboptions['shoutbox_allowbbcode'], 0, 1);
$ignore = array();
if (trim($bbuserinfo['ignorelist'])) {
$ignorelist = preg_split('/( )+/', trim($bbuserinfo['ignorelist']), -1, PREG_SPLIT_NO_EMPTY);
foreach ($ignorelist AS $ignoreuserid) {
$ignore["$ignoreuserid"] = 1;
}
}
if (isset($ignore["$shoutbox_post[userid]"]) AND !in_array($shoutbox_post['userid'], explode(' ', $bbuserinfo['buddylist']))) {
$ignoreuser = '1';
} else {
unset($ignoreuser);
}
if ($screwyoucoventryshout != 1) {
eval('$latestshouts .= "' . fetch_template('forumhome_shoutbit') . '";');
unset($shout_tachygoestocoventry);
} else {
unset($screwyoucoventryshout);
}
}
}