Bu eklenti postpoint eklentisi ile birlikte çalışır. PostPoint'i İndirin
Level Requirement :
To use this plugin on your site, it will require that the user is registered, Guests cannot visit the shop.
Installation :
step 1.
Upload the ForumShop folder to /plugins/
step 2.
Run the sql file in /forumshop/SQL/
step 3.
Go to your site and in the administration panel, click the tab plugins then look for forum shop then click install all.
step 4.
Open system/functions.php and find this function
{
global $cfg;
if (($id==0 && !empty($user)) || ($id>0 && $level==0))
{ $result = $user; }
elseif ($id=='0')
{ $result = $cfg['maintitle']; }
else
{ $result = (!empty($user)) ? "<a href=\"users.php?m=details&id=".$id."\">".$user."</a>" : '?'; }
return($result);
}
then replace with this:
{
global $cfg, $db_users;
if (($id==0 && !empty($user)) || ($id>0 && $level==0))
{ $result = $user; }
elseif ($id=='0')
{ $result = $cfg['maintitle']; }
else
$result = "";
$sql = sed_sql_query("SELECT * FROM $db_users WHERE user_id='$id'");
while ($row = sed_sql_fetcharray($sql))
{
{
$result = (!empty($user)) ? "<img src=\"plugins/forumshop/crowns/".$row['user_crown'].".gif\"><a href=\"users.php?m=details&id=".$id."\"><font color=\"".$row['user_ncolor']."\">".$user."</font></a>" : '?';}
return($result);
}
}
step 5.
Now set the defualt rights for this plugin, by defualt members up need read + write access (first 2 boxes checked)
Other :
A Live example is available on this site. You must be registred to view it.. the link is in the forums.
Additional Help :
http://www.gotfragged.net/portfolio/forums.php
Size: 15KB, downloaded 152 times




