Jump to content
MakeWebGames

Richards Business Mod--Fixed With a few Things added.


Recommended Posts

Posted

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?

  • Replies 166
  • Created
  • Last Reply

Top Posters In This Topic

Posted
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.

Posted (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 by lucky3809
Posted (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 by lucky3809
Posted

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

  • 3 weeks later...
Posted

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.

Posted
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......

  • 1 month later...
Posted

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

Posted

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

Posted

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

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...