Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Search Forums

Notices

Showing results 1 to 22 of 22
Search took 0.00 seconds.
Search: Posts Made By: Saphira
Forum: Addons/Mods Graveyard 06-04-2009, 04:08 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Okay, last step that I'm struggling on to get this perfected. I want the users in user group 6 to be able to delete news as well as admins, so if they mess up when they post, they don't have to wait...
Forum: Addons/Mods Graveyard 06-02-2009, 03:36 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

$topic = addslashes($topic);
$detail = addslashes($detail);

in add_reply.php
Forum: Addons/Mods Graveyard 06-02-2009, 11:29 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I am male. Saphira is the name of my favourite fictional character of all time. She's the beautiful dragon from Eragon/Eldest/Brisingr. =P
Forum: Addons/Mods Graveyard 06-02-2009, 08:13 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

IDIDITIDIDITIDIDIT!


// Find highest answer number.
$query = "SELECT MAX(nid) AS Max_nid FROM ".$prefix."news";
$result = mysql_query($query);

$Max_nid=@mysql_result($result,"Max_nid");
...
Forum: Addons/Mods Graveyard 06-01-2009, 08:02 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I know what forum you're referring to, but I was referring to Zelda. =P
Forum: Addons/Mods Graveyard 06-01-2009, 07:55 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Haha thank you. now all I need to do is figure out that pesky aspostrophe. ¬.¬

The triforce power shall help me! ▲
...
Forum: Addons/Mods Graveyard 06-01-2009, 07:14 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I had to change that a lil' bit, but I got it to work. :D

Finished code:


$article_content = "".$msg."<br>".$article_content."";


$group = getgroup();
Forum: Addons/Mods Graveyard 06-01-2009, 06:29 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Hmm. I'm trying to edit site_news.php so that the people who can post news are the user groups editors and admins. This is what I've been playing with:

if($isLoggedin == "yes" and $cancp ==...
Forum: Addons/Mods Graveyard 06-01-2009, 10:52 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I used

<?
if(get_magic_quotes_gpc())
echo "Magic quotes are on";
else
echo "Magic quotes are off";
?>

To see if magic quotes were enabled or not on http://jonalicious.com/magic.php....
Forum: Addons/Mods Graveyard 06-01-2009, 10:15 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Exactly the same. If you want I can link you to the test site where I'm trying to fix this.
Forum: Addons/Mods Graveyard 06-01-2009, 09:56 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I've just done a completely fresh install of both the adoptables script, and of the news script. I'm getting the exact same error. The only thing I've changed in the whole thing is the detail section...
Forum: Addons/Mods Graveyard 06-01-2009, 09:00 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I don't get a problem posting articles with just ''''''''''''''' in, they go in fine. It's when I use stuff like "I'm, I'll, Bloodrun's, Saphira's, BMR's" etc.
Forum: Addons/Mods Graveyard 06-01-2009, 08:18 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Yeah it is weird. I just tried uploading a fresh add_news.php, to see if it would change anything, and nada. Still nothing. The problem was posting articles with single quotes in lol.
Forum: Addons/Mods Graveyard 05-31-2009, 09:56 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Okay, I've looked through the files, and the only file I can find the stripslashes in is news.php. Wouldn't it need to be in add_news.php, being's that's the file that adds news to the database...
Forum: Addons/Mods Graveyard 05-31-2009, 06:07 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

What part of the code are the stripslash parts in? I can double check just to make sure that they're there etc.
Forum: Addons/Mods Graveyard 05-31-2009, 04:36 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

I tried to post:



Someone else posted last night after I went to bed, and they managed to post fine, so I'm guessing it has something to do with single quotes. (')
Forum: Addons/Mods Graveyard 05-30-2009, 03:10 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Hmm. I haven't tried this out since I changed the database field for detail to LONGTEXT. I'm trying to post news now, and I'm getting an error on add_news.php. I'm guessing that there's an error...
Forum: Addons/Mods Graveyard 05-28-2009, 01:45 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Did you try <br>?

If that doesn't work, Ill just convert the thing to BBcode.
[/quote]

I tried <br>, and <p>, and neither work. It turns

These

Are
Forum: Addons/Mods Graveyard 05-28-2009, 10:32 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Hmm, is there any way to make the system recognise new paragraphs? I've tried html and bbcode, and they both fail. Everything shows up in one continuous paragraph.
Forum: Addons/Mods Graveyard 05-28-2009, 10:26 AM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

postedit.php is missing. :P
Forum: Addons/Mods Graveyard 05-27-2009, 08:40 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Yep. It's perfect now. Great job!
Forum: Addons/Mods Graveyard 05-27-2009, 07:42 PM
Replies: 71
Views: 74,540
Posted By Saphira
RE: Adopts News

Haha, another awesome job Bloodrun. It is very easily customisable, only problem I have is when I'm posting a news comment, for some reason I get an error if the detail field is too long. I have to...
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT -5. The time now is 10:44 AM.

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