Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Community Board > Feedback and Suggestions

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2011, 01:53 PM
Tony's Avatar
Tony Tony is offline
I program.
 
Join Date: Jan 2011
Posts: 75
Gender: Male
Credits: 11,261
Tony is on a distinguished road
Default

you simply have to check if the user is logged on or not, it's probably one or two lines of code, are willing to pay anything for this function?
Reply With Quote
  #2  
Old 08-06-2011, 02:51 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 68,272
Nemesis is on a distinguished road
Default

Programmers seem to suffer the same fate as starving artists
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #3  
Old 08-06-2011, 04:36 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 7,556
Chibi_Chicken is on a distinguished road
Default

open up the shoutbox.php

find
PHP Code:
    if ($isloggedin!="yes") {
        
$user "Guest";
        }
    
$comment $comment;
    
mysql_query("INSERT INTO ".$prefix."shoutbox VALUES ('', '$user', '$date', '$comment')");
    
$article_content $article_content."<p>Your comment has been posted. Click <a href='shoutbox.php'>here</a> to view it.</p>"
I would suggest

PHP Code:
    //if a user is logged in then allow them to post and let them know
    
if ($isloggedin=="yes") {
    
mysql_query("INSERT INTO ".$prefix."shoutbox VALUES ('', '$user', '$date', '$comment')");
    
$article_content $article_content."<p>Your comment has been posted. Click <a href='shoutbox.php'>here</a> to view it.</p>";
        }
     else{
    
$article_content $article_content."<p>You can not post with out logging in.</p>";
     } 
And why does $comment = $comment; is just beyond me.....

EDIT:
oh, not that i am super concerned by this; This type of questions would better fit the Questions and Supports forum as it more of a technical issue.

Last edited by Chibi_Chicken; 08-06-2011 at 04:42 PM.
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
Allow guests to view SilverDragonTears Questions and Supports 7 12-08-2012 07:41 PM
Register bug? KaceKuma Questions and Supports 3 10-12-2011 08:57 PM
guests did not post in shoutbox darkenix Questions and Supports 0 06-29-2011 03:30 PM
Let Guests Change Theme AlexC Questions and Supports 5 06-23-2011 06:44 PM
let guests change theme? AlexC Questions and Supports 6 05-04-2011 08:04 AM


All times are GMT -5. The time now is 09:14 PM.

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