SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 23, 2012, 07:55:45 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10069
Latest:
tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 61
Total: 61
SMFHacks.com
Forum
Modifications/Themes
Modifications Talk
Where is $data['forums'] defined?
0 Members and 2 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Where is $data['forums'] defined? (Read 2292 times)
Marlon
Newbie
Offline
Posts: 3
Where is $data['forums'] defined?
«
on:
October 23, 2006, 12:34:26 pm »
This is in regrads to the staff mod (?action=staff). I tried using strReplace to replace all instances of '<br />' with ', ' in $data['forums'] to parse the moderator's boards in a comma-separated form rather than the default list format. That didn't prove to be successful...in the least bit, LOL.
So rather than playing around with a stuborn variable where it's called, I would much rather modify it where it's defined. Which brings me to my question: in what file is $data['forums'] defined?
Logged
Marlon
Newbie
Offline
Posts: 3
Re: Where is $data['forums'] defined?
«
Reply #1 on:
October 24, 2006, 10:10:48 pm »
I hate to bump this, but I gotta know
.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Where is $data['forums'] defined?
«
Reply #2 on:
October 24, 2006, 10:18:59 pm »
Thats in staff.template.php
Code:
while ($row3 = mysql_fetch_assoc($query3))
{
$bmods[$row3['ID_MEMBER']] .= $row3['name'] . '<br />';
$localmods[$row3['ID_MEMBER']] = array(
'id' => $row3['ID_MEMBER'],
'realName' => $row3['realName'],
'lastLogin' => $row3['lastLogin'],
'dateRegistered' => $row3['dateRegistered'],
'forums' => $bmods[$row3['ID_MEMBER']],
);
}
Logged
Marlon
Newbie
Offline
Posts: 3
Re: Where is $data['forums'] defined?
«
Reply #3 on:
October 25, 2006, 07:28:23 pm »
Quote from: SMFHacks on October 24, 2006, 10:18:59 pm
Thats in staff.template.php
Really now, how could I have missed that? Thanks vb, it's much appreciated.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Viewers?
by
ApplianceJunk
[May 17, 2012, 02:22:07 pm]
Incorrect download counts...
by
SMFHacks
[May 17, 2012, 12:38:16 pm]
SMF V2.0.2 compatibility ...
by
~ Phåråoh ~
[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...