News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Change Membergroups links on BoardIndex

Started by -=[Vyorel]=-, September 11, 2012, 11:47:17 AM

Previous topic - Next topic

-=[Vyorel]=-

How to change link of the membergroups from boardindex, to another page? I using the Teampage mod.

For example the link:
forum-url/index.php?action=groups;sa=members;group=1 to forum-url/index.php?action=teampage
My mods for SMF - [6].

Kindred

Code (in Sources/Subs-Membergroups.php) Select

while ($row = $smcFunc['db_fetch_assoc']($request))
$groupCache[] = '<a href="' . $scripturl . '?action=groups;sa=members;group=' . $row['id_group'] . '" ' . ($row['online_color'] ? 'style="color: ' . $row['online_color'] . '"' : '') . '>' . $row['group_name'] . '</a>';
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

-=[Vyorel]=-

My mods for SMF - [6].

Advertisement: