Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Community Board > Mysidia Adoptables Official Announcement

Notices

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-23-2012, 05:43 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 116,126
SilverDragonTears is on a distinguished road
Default

Thanks. And how can I make the levelup page so that non members can level up adopts?
__________________

Check out SilvaTales
  #2  
Old 03-23-2012, 06:21 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: 614,723
Hall of Famer is on a distinguished road
Default

Use this file then, I did not realize the default option had all guests actions disabled lol.
Attached Files
File Type: php levelup.php (5.9 KB, 2 views)
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #3  
Old 03-23-2012, 06:25 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 116,126
SilverDragonTears is on a distinguished road
Default

Can you tell me which lines you changed? You know my script is all modified and shtuff :)

Just this part right?

Code:

	if($userstatus['canlevel'] == "no"){
	   $article_content .= "It appears that you have been banned from leveling up adoptables. Please contact an administrator for assistance.";   
	}
	elseif(!is_object($voters)){

	// The number of results is still zero, so we did not vote on this adoptable yet today...
__________________

Check out SilvaTales

Last edited by SilverDragonTears; 03-23-2012 at 06:28 PM.
  #4  
Old 03-23-2012, 06:36 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: 614,723
Hall of Famer is on a distinguished road
Default

Check for this line then:

PHP Code:
$userstatus['canlevel'] == "yes" 
You know for guest, the variable $userstatus['canlevel'] is neither yes or no, it is an empty string that does not exist.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #5  
Old 03-25-2012, 07:51 AM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 93,389
AlexC is an unknown quantity at this point
Default

Hey guys, sorry about the really, really long delay. I got terrible sick - still am, actually. (I think it's been a week and it hasn't even reached the peak yet)

I changed the eregi() to preg_match(), but now I'm getting the message "We're sorry, but the email address you entered appears to be invalid. Please go back and enter in a valid email address." when attempting to register a new account...? Not sure why that's going wrong? D:
  #6  
Old 03-24-2012, 09:28 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: 614,723
Hall of Famer is on a distinguished road
Default

umm looks like you need to consult your host to resolve some of your problems...
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #7  
Old 03-25-2012, 12:48 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: 614,723
Hall of Famer is on a distinguished road
Default

Well download the latest script files I uploaded to rapidshare or mediafire and you will be okay.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
  #8  
Old 03-26-2012, 03:33 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 93,389
AlexC is an unknown quantity at this point
Default

Okay, uploaded the new files, got everything working, except now I'm getting the "failed to create forum account" error. I looked through the topic, but people just say they "fixed it" without saying how. Help?

My config_forum.php file looks like this:

Code:
<?php
//Mysidia Adoptables Site Configuration File

//Forum Integration Info: MyBB
$mybbenabled = 1;
$mybbhost = 'localhost';
$mybbuser = 'gloometh_me';
$mybbpass = '********';
$mybbdbname = 'gloometh_forum';
$mybbpath = 'forum';
$mybbprefix = 'forum';  		
?>
  #9  
Old 03-26-2012, 04:02 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 116,126
SilverDragonTears is on a distinguished road
Default

Try putting a "/" in front of the first forum.... and my mybbprefix is mybb_
They already had that in there so unless you changed it when setting it up it should be the same.
__________________

Check out SilvaTales
  #10  
Old 03-26-2012, 04:09 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 93,389
AlexC is an unknown quantity at this point
Default

I tried changing both things, but I'm still gettting an error.

The prefix, if I understand correctly, is for the database right? Mine was forum.
Closed Thread


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
Mysidia Adoptables v1.3.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 122 05-18-2013 04:02 PM
Mysidia Adoptables v1.3.1[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 109 08-24-2012 04:50 AM
Mysidia Adoptables v1.2.0[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 21 03-22-2011 04:13 PM
Mysidia Adoptables v1.1.4[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 15 01-28-2011 11:48 AM
Mysidia Adoptables v1.1.3[Security Release] Hall of Famer Mysidia Adoptables Official Announcement 27 01-26-2011 02:59 PM


All times are GMT -5. The time now is 04:59 AM.

Currently Active Users: 3583 (0 members and 3583 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636