Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 12-17-2013, 06:56 AM
Infernette Infernette is offline
CODE CODE CODE CODE CODE
 
Join Date: Jan 2013
Location: Where I live? I live home.
Posts: 164
Gender: Female
Credits: 23,618
Infernette is on a distinguished road
Default 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.
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #2  
Old 12-17-2013, 02:05 PM
Tequila's Avatar
Tequila Tequila is offline
The Grim One
 
Join Date: Jan 2009
Location: Souther Tier, New York State
Posts: 1,356
Gender: Female
Credits: 96,134
Tequila is on a distinguished road
Default

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...
__________________
Artist. Designer. Gamer. Mother.
[portfolio] [tarot] [Rune Hollow] [freebies]
Reply With Quote
  #3  
Old 12-17-2013, 04:05 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,582
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
  #4  
Old 12-17-2013, 04:10 PM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,260
IntoRain is on a distinguished road
Default

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.
Reply With Quote
  #5  
Old 12-17-2013, 04:47 PM
Infernette Infernette is offline
CODE CODE CODE CODE CODE
 
Join Date: Jan 2013
Location: Where I live? I live home.
Posts: 164
Gender: Female
Credits: 23,618
Infernette is on a distinguished road
Default

Quote:
Originally Posted by IntoRain View Post
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?

The second one is right, just changed it to the URL of my login page and it works! Thankies ^^
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #6  
Old 12-18-2013, 03:54 AM
IntoRain's Avatar
IntoRain IntoRain is offline
Moderator
 
Join Date: Jul 2013
Location: Portugal
Posts: 461
Gender: Female
Credits: 19,260
IntoRain is on a distinguished road
Default

Glad it worked ^^
__________________


asp.net stole my soul.
Reply With Quote
  #7  
Old 12-18-2013, 04:53 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,582
Hall of Famer is on a distinguished road
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 06:02 PM.

Currently Active Users: 454 (0 members and 454 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636