Search found 574 matches

by xxxgamer
Wed Jan 19, 2011 1:56 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: No permissions working
Replies: 6
Views: 201

Re: No permissions working

Brf wrote:What does your custom permission have to do with u_viewprofile?
Sorry ill upload screenshot of u_viewprofile aswell when I get home, its the same problem with that.
by xxxgamer
Wed Jan 19, 2011 10:38 am
Forum: [3.0.x] MOD Writers Discussion
Topic: No permissions working
Replies: 6
Views: 201

Re: No permissions working

Sorry I have not been clear. I will now include a screenshot of a trace result from a standard registered user with no admin permissions or anything: http://img413.imageshack.us/img413/3900/featuredb.png As you can see the trace results in an overall yes but below that you can see it is set to never...
by xxxgamer
Tue Jan 18, 2011 8:24 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: No permissions working
Replies: 6
Views: 201

No permissions working

Hey guys, This is a separate topic to my other as this problem is a bit different. I have now noticed that none of my permissions work outside the ACP. For example: In the acp I set my own user permission to not be allowed view profiles. Now in the ACP it saves it and when I refresh the permissions ...
by xxxgamer
Mon Jan 17, 2011 2:47 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom permissions problem
Replies: 4
Views: 179

Re: Custom permissions problem

Anyone? :oops:
by xxxgamer
Sat Jan 15, 2011 8:39 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom permissions problem
Replies: 4
Views: 179

Re: Custom permissions problem

Ok after looking into it for a bit more I think I see whats going wrong but I dont kno why. So I have the following set up like this: http://img97.imageshack.us/img97/4371/newspermissions.png Now on the page I echo the following: echo $auth->acl_get('u_news_add') . ' News Add<br>'; echo $auth->acl_g...
by xxxgamer
Sat Jan 15, 2011 2:43 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom permissions problem
Replies: 4
Views: 179

Re: Custom permissions problem

I have removed duplicates from the phpbb_acl_options table.

Is there anywhere else it could have created duplicates?
by xxxgamer
Sat Jan 15, 2011 1:56 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Custom permissions problem
Replies: 4
Views: 179

Custom permissions problem

Hey guys, I have a very annoying problem at the moment with some custom permissions that I have set. First off I followed this page here: http://wiki.phpbb.com/display/MODDOCS/Tutorial.Permissions I then set up a custom permission and it is working perfectly fine and it has its on category under the...
by xxxgamer
Sun Jan 10, 2010 7:31 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Data in an included file
Replies: 9
Views: 272

Re: Data in an included file

And back to topic this has been fixed by putting in functions.php header section.
Thanks Stef775 for helping out :)
by xxxgamer
Sun Jan 10, 2010 7:29 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Data in an included file
Replies: 9
Views: 272

Re: Data in an included file

Im fixing it at the moment.
by xxxgamer
Sun Jan 10, 2010 3:36 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Generating text + bbcode
Replies: 1
Views: 97

Generating text + bbcode

Hey guys small problem again my side which im stuck on. Basically trying to get bbcode to work on stuff im outputing on a custom page, This is the code going into the database: $uid = $bitfield = $options = ''; // will be modified by generate_text_for_storage $allow_bbcode = $allow_urls = $allow_smi...
by xxxgamer
Thu Jan 07, 2010 2:34 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: 2 Paginations problem
Replies: 2
Views: 180

2 Paginations problem

Hey guys just short question here. Probably simple but im missing out on it. I have a second pagination set up on my page but it wont use its own "start" which I set to: $tut_start = request_var('my_tuts_start', 0); Now basically the problem is that in the url it goes to: http://example.com/test.php...
by xxxgamer
Wed Dec 30, 2009 9:13 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Loop + move onto new line
Replies: 1
Views: 103

Loop + move onto new line

Hey guys. Just wondering how I would go about this. For example if I want to select the users friends and display the avatar. How would I get for example the script to output 4 avatars on one like then move down a line and display the next 4 etc.. Because whenever I try anything it just outputs them...
by xxxgamer
Wed Dec 30, 2009 12:08 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Data in an included file
Replies: 9
Views: 272

Re: Data in an included file

Here you go mate. Now just short note again. The following works fine when I have this running on my index page for example. But because I dont want to copy/paste this code into every file I want it on Im trying to include it by putting it into 1 file (navbar things) and just include that file into ...
by xxxgamer
Tue Dec 29, 2009 7:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Data in an included file
Replies: 9
Views: 272

Re: Data in an included file

Hey mate cheers for the reply.

Ive tried this now:

Code: Select all

global $user;
$user_id = $user->data['user_id'];

echo $user_id;
But it still doesnt return anything :S

Cheers for looking in here :)
by xxxgamer
Tue Dec 29, 2009 6:44 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Data in an included file
Replies: 9
Views: 272

Data in an included file

Hey guys. Small problem here and dont even kow why im stuck on it :S. Basically I am making a sidebar (nav bar) and want to write all my code for it in 1 file. (it gets data from different things to put into (for example categories etc..) so it automatically updates itself when I add more categories...

Go to advanced search

cron