You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Configuring new mod for anonymous [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
erhanharputlu
Corporal
Corporal


Joined: Mar 20, 2004
Posts: 62


PostPosted: Tue Jul 11, 2006 7:38 pm Reply with quoteBack to top

As you know when anonymous user post a message there will be no Msn icon, no number of messages post, no icq icon , no reg. date, no age etc etc for him/her... every one of them hides itself under anonymous user..

i've added some mod's for phpnuke like album icon under user and number of images that he/she posted to album.. everything was fine but i discovered that these new mod's icons and texts remain on anonymous posters... they must be hidden under anonymous user...

what is the way to make them disappear on anonymous user?
Find all posts by erhanharputluView user's profileSend private message
perfect-games
Site Admin
Site Admin


Joined: Jun 18, 2004
Posts: 210


PostPosted: Wed Jul 12, 2006 4:11 am Reply with quoteBack to top

first of goto you admin panel > edit user and type anonymous and edit the values and permissions

also goto forums -> users > management.

and make sure everything is correct.

thanks

Steve
Find all posts by perfect-gamesView user's profileSend private messageSend e-mail
erhanharputlu
Corporal
Corporal


Joined: Mar 20, 2004
Posts: 62


PostPosted: Wed Jul 12, 2006 9:46 am Reply with quoteBack to top

hmm i think you missunderstand me.. for example there is a button called 'album' near profile button.. it is always there if he post an image to album or not.. so it is automaticly added to anonymous.. is it possible to remove that from anonymous?
Find all posts by erhanharputluView user's profileSend private message
perfect-games
Site Admin
Site Admin


Joined: Jun 18, 2004
Posts: 210


PostPosted: Wed Jul 12, 2006 10:51 am Reply with quoteBack to top

is this a phpbb mod, like smarters Album mod ?

thanks

Steve
Find all posts by perfect-gamesView user's profileSend private messageSend e-mail
erhanharputlu
Corporal
Corporal


Joined: Mar 20, 2004
Posts: 62


PostPosted: Wed Jul 12, 2006 3:33 pm Reply with quoteBack to top

yes the album is smarters... i use another module to add a button to near profile button to go to user's personal album.. and a text under user's message post number that shows how many images he/she posted to album... these 2 mods are shown on anonymous user.. i must somehow disable them on anonymous...
Find all posts by erhanharputluView user's profileSend private message
erhanharputlu
Corporal
Corporal


Joined: Mar 20, 2004
Posts: 62


PostPosted: Sat Jul 15, 2006 10:41 am Reply with quoteBack to top

any ideas?
Find all posts by erhanharputluView user's profileSend private message
perfect-games
Site Admin
Site Admin


Joined: Jun 18, 2004
Posts: 210


PostPosted: Sat Jul 15, 2006 11:00 am Reply with quoteBack to top

for each file to do with the mod like album.php

find:

//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);

or similar to this

AFTER ADD:

if( !$userdata['session_logged_in'] )
{
$header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
header($header_location . "modules.php?name=Your_Account");
exit;
}

which will redirect guest to account module to login or reg before going further

hope that helps

Steve
Find all posts by perfect-gamesView user's profileSend private messageSend e-mail
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.867 Seconds - 351 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::