Search found 1069 matches

by Jackanape
Thu Apr 23, 2015 5:14 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Relative vs. Absolute Paths in Overall Header/Functions.php
Replies: 6
Views: 1142

Re: Relative vs. Absolute Paths in Overall Header/Functions.php

There it is:

Code: Select all

$output11 = file_get_contents($phpbb_root_path . '../shtml/footmenu.shtml');
Works like a champ! Thanks for helping get my head on straight, Brf!
by Jackanape
Thu Apr 23, 2015 1:49 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Exclude user from searchs
Replies: 2
Views: 711

Re: Exclude user from searchs

You ought to be able to do the same thing as cited in the post you mention, but direct it towards the user_id of the poster, instead of the forum. Essentially adding "WHERE user_id != $user_id" (where $user_id is the excluded user) to the query when it goes in.
by Jackanape
Thu Apr 23, 2015 1:46 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: A Form of Auto-Moderation/Post Filtering...
Replies: 4
Views: 972

Re: A Form of Auto-Moderation/Post Filtering...

I decided to hit this right where it starts before any bbcode parsing, etc., really takes place. So, in posting.php, around line 666: if ($submit || $preview || $refresh) { $post_data['topic_cur_post_id'] = request_var('topic_cur_post_id', 0); $post_data['post_subject'] = utf8_normalize_nfc(request_...
by Jackanape
Thu Apr 23, 2015 1:38 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Relative vs. Absolute Paths in Overall Header/Functions.php
Replies: 6
Views: 1142

Re: Relative vs. Absolute Paths in Overall Header/Functions.php

Look at the way the existing includes in phpBB work. They are always relative to $phpbb_root_path include($phpbb_root_path . 'common.' . $phpEx); Of course! D'oh! So, if I'm including something higher in the site heirarchy, I'd do: include('../' . $phpbb_root_path . 'common.' . $phpEx); I really ca...
by Jackanape
Thu Apr 23, 2015 11:47 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Relative vs. Absolute Paths in Overall Header/Functions.php
Replies: 6
Views: 1142

Re: Relative vs. Absolute Paths in Overall Header/Functions.php

Thank you. I gave this some consideration, too, before posting. It's not a style issue, and I didn't think it was a Mod writer's question, as it's more of question relating to phpbb3 and its use of relative paths. Oh, well, not the first time I've been wrong. So...any mod writers left, or has everyo...
by Jackanape
Thu Apr 23, 2015 10:43 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Relative vs. Absolute Paths in Overall Header/Functions.php
Replies: 6
Views: 1142

Relative vs. Absolute Paths in Overall Header/Functions.php

So, this has been bugging me for a while, and I simply solved the issue with absolute path calls, but I'm wondering if there's a more elegant solution. I've modified my overall header to include outside files, such as calendar displays, etc. I'v done this via functions.php, adding a new template var...
by Jackanape
Wed Apr 22, 2015 12:26 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: A Form of Auto-Moderation/Post Filtering...
Replies: 4
Views: 972

Re: A Form of Auto-Moderation/Post Filtering...

I'm still searching everywhere for a flow chart or order of events for the phpbb3 posting process. I've never dug deeply into it, and don't want to break it by fiddling. With all the functions pulling me back and forth, tracing it has been a bear so far. Obviously, I'm starting in posting.php, and t...
by Jackanape
Wed Apr 22, 2015 11:56 am
Forum: [3.0.x] MOD Writers Discussion
Topic: SEO Url friendly
Replies: 1
Views: 708

Re: SEO Url friendly

Search the mod database for SEO mods. There are many that do what you seek, although they are not as necessary as they used to be. Good luck!
by Jackanape
Wed Apr 22, 2015 11:54 am
Forum: [3.0.x] MOD Writers Discussion
Topic: In ACP how can i know if user is a Moderator or Administrator?
Replies: 2
Views: 988

Re: In ACP how can i know if user is a Moderator or Administrator?

I would look into adding a new permission set, instead. Check out the wiki for details:

https://wiki.phpbb.com/Tutorial.Permiss ... permission
by Jackanape
Tue Apr 21, 2015 2:42 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: A Form of Auto-Moderation/Post Filtering...
Replies: 4
Views: 972

Re: A Form of Auto-Moderation/Post Filtering...

But would this not mean that the "new" member who was posting in all good faith would be told that they were in the wrong place and be directed to the "correct" place where they would have to enter the post again? If so then it is, in my opinion, a sure fire way to alienate new members (it would me...
by Jackanape
Tue Apr 21, 2015 2:24 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: A Form of Auto-Moderation/Post Filtering...
Replies: 4
Views: 972

A Form of Auto-Moderation/Post Filtering...

I've been considering this for a while, now, and I'm going to sit down this week and accomplish it, come hell or high water...here's the thought: Like many other boards, we have a specific forum or topic put aside for Jokes, another for videos, etc. Also like many other boards, we have people coming...
by Jackanape
Sun Apr 12, 2015 3:30 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Looking to Add Variables to $user->data[]...
Replies: 2
Views: 933

Re: Looking to Add Variables to $user->data[]...

Alright! Thanks, and CHEERS!
by Jackanape
Sat Apr 11, 2015 2:55 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Looking to Add Variables to $user->data[]...
Replies: 2
Views: 933

Looking to Add Variables to $user->data[]...

I'm digging around, trying to sift through various functions, sessions.php, etc., and having a tough time finding this. I'd like not to have to make a data call for every time the header is referenced, if I can just use the $user->data[] array...

Where can this best be done?
by Jackanape
Fri Mar 13, 2015 1:29 pm
Forum: Abandoned Extensions
Topic: [ABD] Texas hold'em game using phpbb3 authentication
Replies: 32
Views: 7003

Re: [RC] Texas hold'em game using phpbb3 authentication

I recommend hiring a freelancer for this job. it is extensive to install, but looks to be worth it. I'm still working on it, myself.
by Jackanape
Tue Mar 10, 2015 2:03 pm
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] Membership Management with Paypal IPN
Replies: 1268
Views: 197908

Re: [BETA] Membership Management with Paypal IPN

The only thing I can think of is that the cron job is set to 0 * * * * . Any ideas? My cron isn't working at all. I have to manually renew all subscriptions...didn't have to before... I made the mistake of updating my install to the most recent downloads. Pretty much nothing works the way it's supp...

Go to advanced search