Coding / Developers
This could be good, but also bad. A bad idea in that someone could use your intellectual idea and develop something before you finish. Its like giving out your trade secretes to someone without having him or her sign a non-disclosure. However, most of us are just reinventing the wheel on most our ideas.

Originally posted by: Glen
I think it would be a good idea for all developers who have mods in creation to post them up, this is so that theres not a few people making the same thing and people dont waste their time


This is so that developers dont overlap each others work, and that all developers can benefit


July 25, 2006 9:31 am
Here's an onpage factor you can use now to improve your seo:

- do your keyword research for your site (index) and add them in your main title tags
- make specific sections such as say "forums" for example, cross-linked throughout your site in the footer with "your keywords forum" in the anchor text
July 26, 2006 9:25 am
I think this is a great idea...anything that gets my site working more efficiently and bug free gets my attention:

I think we need to separate mods from bugs. Let's get the software bug free as it stands then let's mod it: Example:

IM still does not functiona and I am trying to figure out why PHPfox won't just state this and pull it from the code until it works. Nothing more frustrating then to have members have an IM window pop up upon login and find the thing doesn't even work.

The site still drags at times and this can cause loss members, loss revenue and loss of hair!
October 25, 2006 6:39 pm
The top users page was created as an extension for my profile page view counter mod. It works a little differently than the default one and counts non-member views as well.
July 24, 2006 5:52 pm
Looks like you fixed it?

Anyway, keep in mind that the apostrophe periods '. are for variables only.
Like in the line below the '. should not appear before signup.php like it does, it should only appear before a variable. So instead of(from the first code you posted):

$refer_url = !empty($phpfox_config_profile['htaccess_url']) ? ''$VAR[] .'/'signup.php?refer=$VAR[4] .'' 

it would be:

$refer_url = !empty($phpfox_config_profile['htaccess_url']) ? ''$VAR[] .'/signup.php?refer='$VAR[4] .'' 

You use '. when you are trying to have a variable work inside other apostrophes. For example if you had:

$DATA = 'Hello, '.$VAR[4].'';

You need the '. .' around $VAR[4] or it will just say $VAR[4] instead of the user's name

I think the reason what you changed it to worked is because instead of apostrophes you used quotations " which do translate variables in general
July 24, 2006 8:38 pm
those are just variables in that file. you would need to add new veriables there then in index.php assign the new variables just like those were made

i have this on but it doesnt show vip online

gold online

it just shows totals
July 30, 2006 6:10 pm
../profile.php line 79:

$b phpfox_sql_query("user","`user`,`id`,`friends_only`","WHERE `id` = '$_GET[id]'",TRUE); 

So the id for the current profile's user can be retrieved with $_GET[id] or $b[id].

So you could do something like:

$retrieve = mysql_query("SELECT `views` FROM `user` WHERE `id` = '$b[id]'");
$viewings = mysql_fetch_array($retrieve);
$viewnum = ($viewings[views] + 1);
mysql_query("UPDATE `user` SET `views`='$viewnum' WHERE `id` = '$b[id]'");
July 28, 2006 4:34 pm
Originally posted by: Clownpaint
I need to know where I can manually edit the users account level, eg. VIP, Gold etc.

Where is it hidden in the database? I can't seem to find it! sad

It's under the `user` table in the `type` field. It is set by number. Admin is 0, gold is 1, vip is 2, normal is nothing

Looks like staff is also 0, but then you put a 1 in the `admin` row
July 25, 2006 11:26 pm