lucky3809 Posted October 27, 2011 Posted October 27, 2011 As said before when the forums changed the bbcodes were off and screwed up 80% of the mods on here leaving.. http:// AND ' also adding target="_blank" which was NEVER part of the mods, people have posted on here... with that said your line should be.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. How hard was that to solve? Quote
Ben Nash Posted October 27, 2011 Posted October 27, 2011 <b>Director /b> <a href='viewuser.php?u=.'$r['userid']' .stripslashes($r['username']).'</a> Quote
Bennyh789 Posted October 27, 2011 Posted October 27, 2011 Thanks however the director link still does not work Quote
gurpreet Posted October 27, 2011 Posted October 27, 2011 can anyone help i get several erros on business_home.php: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 192 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. line 331 is: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. thanks ben Try this: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
lucky3809 Posted October 28, 2011 Posted October 28, 2011 (edited) Thanks however the director link still does not work Please read what I said about the forum, what happened when it changed!! It can help you with further problems, then look what i did to that line... Edited October 28, 2011 by lucky3809 Quote
lucky3809 Posted October 28, 2011 Posted October 28, 2011 (edited) <b>Director /b> <a href='viewuser.php?u=.'$r['userid']' .stripslashes($r['username']).'</a> Close... but you put the '. wrong around the userid field.. should be... echo '<b>Director /b> <a href="viewuser.php?u='.$r['userid'].'"> '.$r['username'].'</a>'; username in echo does not need stripslashes it is not going into the database... only database needs to be secured and fields where users type and queries... Edited October 28, 2011 by lucky3809 Quote
Bennyh789 Posted October 28, 2011 Posted October 28, 2011 thanks all however one more problem whenever i press rob company all i get is the message saying it has already been robbed. ive looked through every page and cannot see what i need to add to businesses table for example: rob and i cannot see anywhere on the crons where it updates the business rob]]thanks ben Quote
Smokey Posted November 13, 2011 Posted November 13, 2011 Benny there should be a user field "rob" and a daily cron that resets that field. It isnt in the business table, it is based on how many times you have robbed a company not how many time that company has been robbed. Quote
DISTORTED Posted November 15, 2011 Posted November 15, 2011 nice to see you all still at it :) I started back work on biocity-rpg yesterday gad you all are still around Quote
peterisgb Posted November 22, 2011 Posted November 22, 2011 As said before when the forums changed the bbcodes were off and screwed up 80% of the mods on here leaving.. http:// AND ' also adding target="_blank" which was NEVER part of the mods, people have posted on here... with that said your line should be.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. How hard was that to solve? updating this bbcode crap has messed up the site, now i see why nearly all the users left...... Quote
DISTORTED Posted November 23, 2011 Posted November 23, 2011 Yea sucks have not seen a fresh mod in a long time Quote
Djkanna Posted November 23, 2011 Posted November 23, 2011 Yea sucks have not seen a fresh mod in a long time Why not post a mod then? Or even an idea for a mod? Quote
peterisgb Posted November 24, 2011 Posted November 24, 2011 Why not post a mod then? Or even an idea for a mod? i posted one up yay, if i had help with the other mods i'm working on i can post them here once there done. Quote
Newbie Posted January 20, 2012 Posted January 20, 2012 company I cant get the company to pay out any money each day heres what iv tried so far iv copyed the whole business cron to my min cron to see if it would pay out no luck at all iv also tried to include the business file instead of copying the whole file like above also made a cron for it every day in the cron bit on cpanel iv managed to get to get it to pay out before buy doing that but cant seem to figure it out now any ideas? thanks Quote
Raven1992 Posted January 27, 2012 Posted January 27, 2012 company ok i folowed what it is there and when i log in all i got is this what did i go wrong Fatal error: Call to a member function query() on a non-object in /home/bigbangx/public_html/loggedin.php on line 31 Quote
Newbie Posted January 27, 2012 Posted January 27, 2012 i used the one from cronwerks its the same mod but it installed much better no errors at all theres bits of code in the codes on this fourm due to moving fourms or sumthing Quote
Raven1992 Posted January 31, 2012 Posted January 31, 2012 well how do i get it right or sort the problem out Quote
Newbie Posted January 31, 2012 Posted January 31, 2012 well how do i get it right or sort the problem out well from what you posted it seems the error is coming from the logged in file you have properly put the You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in the wrong place heres how the start of my loggedin.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. i added the $db->query("UPDATE users SET active=1 WHERE userid=$userid"); right under globals like this You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. if this doesnt fix it post up a copy of your logged in file or pm me and ill have a look at it for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.