Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 1152
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


If you're interested in helping other members with support requests, consider joining the Community Support Helpers group.

Portal i

Started by wizi_emre, July 12, 2011, 12:31:41 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

wizi_emre

http://simpleportal.net/index.php?topic=4787.0  linkindeki mod uygulanarak son eklenen gruplar ana sayfada ba?ar?l? bir ?ekilde g

grafitus

?unu dener misiniz?

global $smcFunc, $scripturl;

$request = $smcFunc['db_query']('', '
SELECT
m.id_group, g.group_name, g.image
FROM {db_prefix}social_members AS m
LEFT JOIN {db_prefix}social_groups AS g ON (g.id_group = m.id_group)
WHERE m.id_member = {int:user} AND g.enable = {int:is_approved}
ORDER BY g.id_group DESC
LIMIT 5',
array(
'user' => $user_info['id'],
'is_approved' => 1,
)
);
$my_groups = array();
while ($row = $smcFunc['db_fetch_assoc']($request))
$my_groups[] = $row;

foreach ($my_groups as $group)
echo '<a href="', $scripturl, '?action=sgroups;sa=view;id=', $group['id_group'], '"><img src="', $group['image'], '" alt="', $group['group_name'], '" /></a>';
my modsI don't reply support PMs. Please use support forums.

wizi_emre

#2
Forumu t

grafitus

my modsI don't reply support PMs. Please use support forums.

wizi_emre

#4

grafitus

Code (Bulun) Select
'user' => $context['user']['id'],
Code (De?i?tirin) Select
'user' => 5,

Yani $context['user']['id'] de?i?keni,
my modsI don't reply support PMs. Please use support forums.

wizi_emre

#6
Profile.template.php

<a href="', $scripturl, '?action=profile;area=showposts;u=', $context['id_member'], '">', $txt['showPosts'], '</a><br />
<a href="', $scripturl, '?action=profile;area=statistics;u=', $context['id_member'], '">', $txt['statPanel'], '</a>


sonras?na ekle

<a href="', $scripturl, '?action=sgroups;sa=list;u=', $context['id_member'], '">', $txt['fankur'], '</a>

Profile.turkish.php i

grafitus

my modsI don't reply support PMs. Please use support forums.

wizi_emre

Sorunsuz bir ?ekilde

grafitus

my modsI don't reply support PMs. Please use support forums.

wizi_emre

Bir ?ey daha sormak istiyorum. Bu kod ile Gruplarda, t