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 07-19-2014, 02:00 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,852
Infernette is on a distinguished road
Default A little pointer for tab file location?

Where in the classes for the tabs does it define the default tab that is opened when a person visits a page? I'd love to change it to the first tab but I can't find the location.
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #2  
Old 07-26-2014, 03:10 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,852
Infernette is on a distinguished road
Default

Still need :)
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #3  
Old 07-27-2014, 11:18 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,725
Hwona is on a distinguished road
Default

Took me a while to figure this out, but if you go to the profile.php file, you should be able to see some start and end tab stuff. If you change the number order of those tabs, the numbers, and then find this: $profiletabs = new Tab(5, $tabs, 2); and change the 2 with a 1, it should work. :3
I think I failed at explaining that. XP
__________________
Reply With Quote
  #4  
Old 07-28-2014, 07:00 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,852
Infernette is on a distinguished road
Default

I've done that but it doesn't work, sadly. Changed from 2 to 1 to 0 even, no luck. Still opens the second tab.
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #5  
Old 07-28-2014, 08:25 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 48,725
Hwona is on a distinguished road
Default

Umm, did you remember to reorder the start-end tab stuff... it works for me. Try looking around the rest of the file. It should be there...
__________________
Reply With Quote
  #6  
Old 08-21-2014, 06:36 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,852
Infernette is on a distinguished road
Default

Ok so an update, it WILL first open the tab I tell it to, then the second tab overtakes it once the page loads. I think there is some script piece I'm missing but I'm not sure.
__________________
No, I have no idea what I'm doing. But it works. Barely.
Reply With Quote
  #7  
Old 08-22-2014, 11:51 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: 332,353
Hall of Famer is on a distinguished road
Default

Its in the script /view/profileview.php, in this line:

PHP Code:
$tabs = new Tab(5$tabsList2); 
Here the third parameter(2) defines the default tab opened when you enter a user's profile page, the value 1-5 corresponds to (Visitor Message, About Me, Adoptables, Friends, Contact Info). So you can see why the default is About Me.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
Reply


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
But the file is there so why am I getting this error? Lazrgatr Questions and Supports 4 11-15-2015 11:33 AM
Odd file superdude44 Questions and Supports 11 06-16-2013 09:21 PM
SIDEFEED Location? Hedgen Templates and Themes 7 12-16-2012 12:15 PM
Mys v1.3.1 one central location location for seperate addons schepers12 Mys v1.3.x Mods 2 12-05-2012 05:58 AM
HTML location GuardiansWish Templates and Themes 9 06-25-2012 12:08 PM


All times are GMT -5. The time now is 12:21 PM.

Currently Active Users: 9833 (0 members and 9833 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