PDA

View Full Version : Re-direction Issues in Admin Cp


slim cutty
07-26-2005, 06:36 AM
Hello sv1cec,

New thread posted as you wished for. You seem to have quite an attitude in the tone of what you typed before, I appreciate your help (not your tone) but you directed me to a forum from the original post which was updated today, the AWS (I didn't know it had its own help forum). My bad if I typed in the wrong thread, You gotta take it easy on the newbies, were just trying to learn...

Anyway, hopefully my pics will help you understand what I am saying better... oh yeah I have the most recent install of the AWS I dl'd today.

Hopefully these can help you help me thanks I don't know what is causing it to do this?

sv1cec
07-27-2005, 06:35 AM
Check the edits you have done in file admincp/user.php.

As for my attitude, the link for the support forum was there for you to see, right at the top of each page of the old thread. Instead of following the directions, you posted there. I redirected you to this forum and you came here, went to the first thread you found (which had nothing to do with your problem) and posted your question.

Do you think that supporting this hack is an easy job? If posts get thrown in whatever thread you like, how on earth am I going to follow up what was the original problem?

Newbies should spend some time familiarizing themselves with the processes, instead of complaining. We were all newbies once, and we all make mistakes, learn from what the others tell you, instead of making a fuss about it.

slim cutty
07-27-2005, 11:17 PM
Thanks man, I understand you and I'm learning...

good day

sv1cec
07-28-2005, 02:25 AM
Now, have you find your problem?

Battle_Ring
07-28-2005, 09:40 PM
im gettign the same thing ive went over the admin/user file 3 times hmmmmmmmm

i dunno somethings wrong when you go edit a user in the admin panel and try t ogive warning it does than redirects you to a page cannot be displayed

it cant be anythign to do with the user file

sv1cec
07-29-2005, 02:36 AM
No, I think it has something to do with the setup of your forums. Can you please tell me what is the URL of your forum and what is the URL of your admincp?

Battle_Ring
07-29-2005, 02:50 AM
http://cnt-gifts.com/forums

http://cnt-gifts.com/forums/admincp

i can give you admin access if you need it

sv1cec
07-29-2005, 03:10 AM
Well, I am not sure what the problem is, but I think both you and slim_cutty have your forums inside a "forums" directory, instead of within the root directory of your URL.

Try this and let me know how it works:

Edit your Warn.php file and find this:


$url="/$admincpdir/user.php?do=edit&userid={$_POST['id']}";


Try changing that to:


$url="$admincpdir/user.php?do=edit&userid={$_POST['id']}";


Let me know how that works. If it does not solve your problem, please go again in the User page and scroll all the way to the bottom, where there is the Warnings Information box. You should have a button there saying "Warn (non-post related). Hover your mouse over that button and see what it says at the status line of your browser. Tell me that.

Rgds

Battle_Ring
07-29-2005, 03:14 AM
thanks that worked

your awesome this hack is awesome

will it ever be ported over to 3.5 as a plug in

sv1cec
07-29-2005, 03:28 AM
Thanks, glad if that worked. Let me see if this has to be changed as a standard bug fix.

As for the porting to 3.5 I am already working on that, and the Admincp part and the Warning part in the forums work OK, so far. But I need to come up with the parts of the code that deal with the Automatic Warnings, from posts or PMs.

So far, the code is totally using plug-ins and no code changes, but I am not sure how it will go in the other sections. I am not very enthusiastic about the whole porting, for the simple reason that my site is so heavily hacked that I do not think I'll ever upgrade it to 3.5, because I'll loose at least some of the functionality I have now (I do not think that every hack author will spend time porting their hacks to 3.5).

Rgds