Current time: 03-20-2010, 07:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] OptionList for moderators
07-03-2009, 04:19 PM (This post was last modified: 07-04-2009 03:11 PM by ketto93.)
Post: #1
[Release] OptionList for moderators
Hi,

I'm sending my new release that does this: http://ketto.altervista.org/forum/index.php
You can view that the browser redirects to profile page of moderator Big Grin

You must follow only 5 little steps

1)
In forumbit_depth1_cat edit
PHP Code:
<td class="thead" colspan="5"
with
PHP Code:
<td class="thead" colspan="6"

2)
Add after
PHP Code:
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td

this
PHP Code:
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>Moderators</strong></span></td

3)
In Ungrouped Templates > headerinclude insert this
PHP Code:
function redirectoptionValue ) {
var 
uid;
var 
address;
uid optionValue
address 
"member.php?action=profile&uid=";
location.href address+uid;


after
PHP Code:
// --> 

4)
In forumbit_depth2_forum insert
PHP Code:
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap"><form>
<
select name="test" onchange="redirect(this.value);">
<
option value="" selected>Moderators</option>
{
$moderators}
</
select>
</
form> </td

after
PHP Code:
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td

5)
Modify file ./inc/functions_forumlist.php inserting
PHP Code:
$moderators .= "<option value=\"".get_profile_link($moderator['uid'])."\">".htmlspecialchars_uni($moderator['username'])."</option>"
instaed of
PHP Code:
$moderators .= "<br /><a href=\"".get_profile_link($moderator['uid'])."\">".htmlspecialchars_uni($moderator['username'])."</a>"

Byeeeee

Hi,
Ketto93
_______________________
MyBB Italian Lover
Find all posts by this user
Quote this message in a reply
07-03-2009, 11:23 PM
Post: #2
RE: [Release] OptionList for moderators
ammm a screenshoot please
Find all posts by this user
Quote this message in a reply
07-03-2009, 11:38 PM
Post: #3
RE: [Release] OptionList for moderators
Screenshots...

-Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog
PM Me if you want a Lockerz Invitation
Visit this user's website Find all posts by this user
Quote this message in a reply
07-03-2009, 11:44 PM
Post: #4
RE: [Release] OptionList for moderators
look at his forum, you will see it.

http://admincentralforums.com

http://graphiczcentral.net
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2009, 12:28 AM
Post: #5
RE: [Release] OptionList for moderators
That's very good

Thanks ketto

<font size too large, removed. use NORMAL size only, like below>
FIND OUT ABOUT MYBBCODES.COM
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2009, 12:51 AM
Post: #6
RE: [Release] OptionList for moderators
Eh, kinda messy.

[Image: 1255110914.png]
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2009, 01:21 AM
Post: #7
RE: [Release] OptionList for moderators
Oh!

I see Smile

Nice detail but whats the purpouse?

-Rafael
Im a Big MyBB Fan!!! Cool
My Forum
My Blog
PM Me if you want a Lockerz Invitation
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2009, 06:35 AM
Post: #8
RE: [Release] OptionList for moderators
(07-04-2009 01:21 AM)rafaweb Wrote:  Oh!

I see Smile

Nice detail but whats the purpouse?

Quite self explanatory though..

'To use Mod Options right from the index'

<font size too large, removed. use NORMAL size only, like below>
FIND OUT ABOUT MYBBCODES.COM
Visit this user's website Find all posts by this user
Quote this message in a reply
07-04-2009, 02:59 PM
Post: #9
RE: [Release] OptionList for moderators
(07-04-2009 06:35 AM)ghazal Wrote:  
(07-04-2009 01:21 AM)rafaweb Wrote:  Oh!

I see Smile

Nice detail but whats the purpouse?

Quite self explanatory though..

'To use Mod Options right from the index'

And when you click on a moderator you will redirect to his profile.

Hi,
Ketto93
_______________________
MyBB Italian Lover
Find all posts by this user
Quote this message in a reply
07-04-2009, 04:30 PM
Post: #10
RE: [Release] OptionList for moderators
It looks nice, I like it.

[Image: sig.gif]

Contact me in private only if you need paid help with mybb-related issues. Otherwise, please don''t, unless I invite you to. Thanks Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: