Kullanıcı Adı:   Şifre:  
  [Üye ol]   [Sifremi unuttum

Telif hakkı:
Gönderen: admin   Tarih: 2006-12-08 02:20
Yorum: (0)   Oy:
Ortalama oy (10 üzerinden) : Henüz Oylanmamış   
Votes: 0
Description :

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
Kod:
function sed_build_user($id, $user, $level=-1)
{
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:

Kod:
function sed_build_user($id, $user, $level=-1)
{
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
Download : ForumShop v3
Size: 15KB, downloaded 152 times
.:: Download
 

.:: Arama
.:: Etiketler