The issue (or one issue) is the $_SERVER['REQUEST_URI'] redirects. The new code assumes either an absolute path or a relative path, not a path relative to the root of the site. Replacing $_SERVER['REQUEST_URI'] in redirects with admin_loader.php?plugin='.$_GET['plugin'] should work.
However, you are right that there's an issue, since AMP_Example.php directs plugin authors to use REQUEST_URI.
1,826 2007-11-22 19:26
Re: Attachment mod question but mainly a path issue. (13 replies, posted in General discussion)
1,827 2007-11-22 19:22
Re: PunBB 1.2.16 (71 replies, posted in News)
Don't send it via the email form, it has issues sending to PunBB.org emails (I'm assuming that's why I don't have your email)
1,828 2007-11-22 18:32
Re: Use of several SQL servers (10 replies, posted in Feature requests)
search? It seems like that's a two liner: close the existing database connection and open a new one on your separate MySQL server.
1,829 2007-11-22 18:31
Re: Marking topics as read (5 replies, posted in Programming)
That's essentially what the existing modification does
There's a database column added to users. It stores a serialized array of topic ids/view times. It is added to when you view a topic that has a last posted time greater than your last visit time.
On index.php, all of the topics since your last visit are fetched and compared to the data from your new column. Any topics which aren't listed in the serialized array or which have been posted in since the time you last viewed the topic are considered new.
On viewforum.php, as you go through the loop each topic is checked against the array.
1,830 2007-11-22 17:07
Re: Administrator with normal user rights (7 replies, posted in PunBB 1.2 troubleshooting)
Yes, I get that. But you have a bunch of people listed under the administrator usergroup. Could you give me the username of the user who is having trouble?
1,831 2007-11-22 14:38
Re: Administrator with normal user rights (7 replies, posted in PunBB 1.2 troubleshooting)
and who is "she"?
1,832 2007-11-22 12:59
Re: Attachment mod question but mainly a path issue. (13 replies, posted in General discussion)
Like I said before, paste a copy of these plugins here and we might be able to find the issue.
1,833 2007-11-22 12:58
Re: Administrator with normal user rights (7 replies, posted in PunBB 1.2 troubleshooting)
You'll need to provide a link to the forum and a bit more specific detail than that
1,834 2007-11-22 12:57
Re: PunBB 1.2.16 (71 replies, posted in News)
I can't replicate it, and the fact that it occurs in the plugin likely means the plugin is doing something wrong that wasn't caught before
Could you paste the code for the plugin in that thread?
1,835 2007-11-22 01:21
Re: Minor issue with extern.php (4 replies, posted in PunBB 1.2 discussion)
Moved to PunBB Discussion
Most certainly not a bug, but Bekko is right.
http://example.com
1,836 2007-11-21 18:56
Re: PunBB 1.2.16 (71 replies, posted in News)
Thanks for reply Smartys
The board is here -> http://clopotelfrance.free.fr/forum/index.php
This is a free service from our IProvider -> http://www.free.fr/
I can't log in until I get my activation email, which seems to be taking a while
Edit: I'm still waiting, and I registered a second account to a different email account that also hasn't gotten the activation email
1,837 2007-11-21 12:00
Re: [1045] dbconn: mysql_connect: Access denied for user 'www-data'@'local (7 replies, posted in PunBB 1.2 troubleshooting)
Talk to your host then, your MySQL details have changed
1,838 2007-11-21 12:00
Re: Show New Posts feature (3 replies, posted in Feature requests)
Quick searches for:
* Recent posts
* Unanswered posts
* Your posts
* Your topics
* Your subscriptions
That's from the top of search.php
1,839 2007-11-21 11:59
Re: PunBB 1.2.16 (71 replies, posted in News)
I would need to check out the site
1,840 2007-11-21 01:46
Re: Fatal Error + Validation (2 replies, posted in PunBB 1.2 troubleshooting)
That means the mod author didn't create a way to uninstall the modification using install_mod.php
1,841 2007-11-21 00:24
Re: Backup Failing (3 replies, posted in PunBB 1.2 troubleshooting)
The AP_Backup tool also creates bad backups the last time I checked
1,842 2007-11-21 00:23
Re: Installation Error (8 replies, posted in PunBB 1.2 troubleshooting)
There are no tables.
1,843 2007-11-21 00:23
Re: Show New Posts feature (3 replies, posted in Feature requests)
It's a quicksearch, so that isn't exactly the simplest thing to do
How would you propose it be done from a user's perspective?
1,844 2007-11-20 16:54
Re: Search URL String - How To Email / Save / Link to Search Results ? (3 replies, posted in PunBB 1.2 discussion)
It isn't documented, but you can generate it by looking at the search.php source. All the form elements are submitted as GET, so you can just look at the input field names and their values.
1,845 2007-11-20 16:52
Re: Fatal error: Call to undefined function: confirm_referrer() (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Moved to Modifications
1,846 2007-11-20 16:52
Re: PunBB 1.2.16 (71 replies, posted in News)
Makes sense. Try this code from login.php instead
$redirect_url = (isset($_SERVER['HTTP_REFERER']) && preg_match('#^'.preg_quote($pun_config['o_base_url']).'/(.*?)\.php#i', $_SERVER['HTTP_REFERER'])) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : 'index.php';
1,847 2007-11-20 11:53
Re: Preview of topic in title in the links (15 replies, posted in Feature requests)
I'm not exactly sure how using two requests versus one would differ. In my mind, the join you would do would be very similar.
1,848 2007-11-20 11:40
Re: Preview of topic in title in the links (15 replies, posted in Feature requests)
Well, you're joining all of the posts for a given topic, not just the first post. I think you would be better off waiting until 1.3, where we've added the column first_post_id, which should improve these types of joins.
1,849 2007-11-20 11:35
Re: Search URL String - How To Email / Save / Link to Search Results ? (3 replies, posted in PunBB 1.2 discussion)
1,850 2007-11-20 11:34
Re: HI please help (1 replies, posted in PunBB 1.2 troubleshooting)
So, what's the problem?