2006-01-28, 01:34 PM
For the EMS is it possible to show different messages to different groups
Nitemares Mod List
|
2006-01-28, 01:34 PM
For the EMS is it possible to show different messages to different groups
2006-01-28, 01:40 PM
yup all you have to know is what the display group number is
in the settings page look for the setting "Display to groups:" in there enter the number for the user group you want to display the EMS for, if you want more then one user group, seperat the numbers by a comma (,)
2006-01-28, 01:50 PM
Like for group 1 message "x" and for group 2 message "y" and for group 3 message "z" is this possible
2006-01-28, 01:52 PM
lapsetur Wrote:Like for group 1 message "x" and for group 2 message "y" and for group 3 message "z" is this possible no, but it might be consitered for a future release
2006-02-17, 05:25 AM
ad system updated hopefuly to fix a mySQL bug in the activate for hte first time,
2006-02-18, 07:09 AM
got sql error after installing ad system
2006-02-18, 07:14 AM
what error?
2006-02-18, 07:44 AM
mySQL error: 1146
Table 'rew.mybb_ads' doesn't exist Query: SELECT MAX(aid) AS aid FROM mybb_ads
2006-02-18, 03:29 PM
try cycling the plugin (as in, deactivating/reactivating), and make sure your using the latest version
2006-02-18, 10:08 PM
(This post was last modified: 2006-02-18, 10:09 PM by Ryan Gordon.)
Nightmare your 3.5 of Ad Rotation system is screwed up.
function do_ads() { global $db, $templates, $footer, $banner; $blah = "0"; while ($blah != "1"){ $count = $db->query("SELECT MAX(aid) AS aid FROM ".TABLE_PREFIX."ads"); $num = $db->fetch_array($count); $ran = rand(1,$num['aid']); //Echo "Random: ".$ran."<br />"; //Echo "Finish?: ".$blah."<br />"; $query = $db->query("SELECT * FROM ".TABLE_PREFIX."ads WHERE aid='".$ran."'"); $ads = $db->fetch_array($query); //echo "Mode: ".$ads['mode']."<br />"; //echo "Aid: ".$ads['aid']; if ($ads['aid'] == $ran and $ads['mode'] != "3" and $ads['mode'] != "4"){ $blah = "1"; } } if ($ads['mode'] == 2){ $new = $ads['shown']+1; if ($new < $ads['max']){ $db->query("UPDATE ".TABLE_PREFIX."ads SET shown='".$new."' WHERE aid='".$ran."'"); }else{ $db->query("UPDATE ".TABLE_PREFIX."ads SET mode='4' WHERE aid='".$ran."'"); } } eval("\$banner = \"".addslashes($ads['code'])."\";"); } It creates an infiniate loop, because $blah Will ALWAYS Be NOT Equal 1. I suggest updating your script as soon as possible. You should really test out your plugins on your own boards before you release them you know. I've had to deactivate this plugin because my forums wouldnt work. |
« Next Oldest | Next Newest »
|