Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Where is the data for the Loginbar located?
Okay this thing has been giving quite a few of my users trouble, since if you aren't on the index it will redirect you to a non-existent page that is relative to the page you are on, causing it to not work and thrown an error. I have been trying to find where the actual code for the login bar is located in the files, but it has been to no avail- can anyone point me in the right direction so I can modify the page it goes to. :P
It's not in the db or editable in the modules part of the admin control panel, I've even tried editing the class_sidebar to just exclude it and use my own but that throws an error, I have no idea where this thing is. |
#2
|
||||
|
||||
I've looked at the code and cannot figure it out myself. It's actually giving me a slight headache (but the meds I'm on can be counted towards that too!)...
I did find the class_sidebar info, but no help from me I'm afraid...
__________________
|
#3
|
||||
|
||||
I believe there is a method in class_sidebar.php called getLoginBar() or buildLoginBar() that you can edit to make it work on your site, you will need to know the basics of PHP and Mysidia's GUI programming to achieve this.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
#4
|
||||
|
||||
protected function setLoginBar(){
$this->loginBar = new FormBuilder("login", "login", "post"); The second "login" in the FormBuilder construt is I believe what makes you redirect to whataver/login edit: in mine it seems to work either way. Maybe try to imitate what's in the login.php?
__________________
asp.net stole my soul. |
#5
|
|||
|
|||
Quote:
The second one is right, just changed it to the URL of my login page and it works! Thankies ^^ |
#6
|
||||
|
||||
Glad it worked ^^
__________________
asp.net stole my soul. |
#7
|
||||
|
||||
I see, glad it work for ya. Come to think about it, is this actually a bug of the script? If anyone else can reproduce the same error/problem please let me know or post an issue in the bug tracker.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Insert Data/Tables Trouble | AlexC | Programming and Game Development | 2 | 05-03-2012 07:44 PM |
Pendrive data recover | SleepWalker | Other Chat | 1 | 11-02-2009 12:28 AM |
What's New? |
What's Hot? |
What's Popular? |