[ Video Sharing CMS v4 ] HELP ME!!! About users page

Started by AHStudioOfficial,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AHStudioOfficialTopic starter

The new version of phpVibe 4.0 includes users page. But i want to show only administrators on this page. What can i do to achieve this?
  •  

PHPVibe A.

Change the select on ccom/om_members to select only groud_id 1

AHStudioOfficialTopic starter

Quote from: Alexander on
Change the select on ccom/om_members to select only groud_id 1

Thanks! I thought to do that, wasn't too sure to do that :(
  •  

AHStudioOfficialTopic starter

Quote from: Alexander on
Change the select on ccom/om_members to select only groud_id 1

I changed it and i failed it! Maybe i changed the code wrong? Can you send the code?
  •  

PHPVibe A.

$count = $db->get_row("Select count(*) as nr from ".DB_PREFIX."users where group_id = '1'");
$users = $db->get_results("select * from ".DB_PREFIX."users where group_id = '1' order by lastNoty DESC,views DESC ".this_limit()."");


Out of my mind it should go like this.

Similar topics (7)

Replies: 1
Views: 412

Replies: 3
Views: 1340

Replies: 6
Views: 1453

Replies: 2
Views: 2889

Replies: 0
Views: 625