Mysidia Adoptables Support Forum  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2011, 01:38 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 141
Gender: Male
Credits: 2,868
LucasA33 is on a distinguished road
Default Making Guests Have to Register before using Shoutbox

Why is it so you can post shouts when you are a guest?
Can some one make an script making it so when you are an guest, the thing says: "You have to register to use this" or so?

I just want it so guests cannot use this, because it has been creating issues.
Reply With Quote
  #2  
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: 2,527
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
  #3  
Old 08-06-2011, 02:21 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 141
Gender: Male
Credits: 2,868
LucasA33 is on a distinguished road
Default

I never planned to pay :<
I would only pay for software, not something modified to get something to work.
I think that is wrong (Look at Minecraft, Devs are wanting money for mods to the game, and now the owner is making an API for Modding)

And if it is just 2 lines of code, couldn't you simply just help me?
Reply With Quote
  #4  
Old 08-06-2011, 02:51 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 638
Gender: Male
Credits: 18,166
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
  #5  
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: 1,923
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
  #6  
Old 08-07-2011, 10:28 AM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 141
Gender: Male
Credits: 2,868
LucasA33 is on a distinguished road
Default

If all you plan to do in life is make money by doing modifications, you might need a secondary job too; yaknow

Thank You Chibi, I was super confused on where to put this, so I tried to place it where I thought it would go best.
Reply With Quote
  #7  
Old 08-07-2011, 02:51 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 638
Gender: Male
Credits: 18,166
Nemesis is on a distinguished road
Default

well programming is a craft and like most digital things people don't see or understand the amount of work that goes into it.

The difference here too is chibi is more experienced and knows the script, and would prolly help you for free, as he did. For me it would of been harder and I would of had to study that part of the script to make sure i did it right. I'd say same applied to tony, would of taken us more effort.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #8  
Old 08-07-2011, 05:42 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 1,923
Chibi_Chicken is on a distinguished road
Default

Lucas I hope you test it to make sure that it works the way that you want it to. I only made that as a suggestion, I did not test it (not on my development computer.) So if it starts to give you errors make sure you have a back up.

Programing is a craft and it takes time; time has value, and depending on the person is going to cost differently. I have lots of time and like spending it looking at problems since sometimes I can fix them.
Reply With Quote
  #9  
Old 08-20-2011, 03:56 PM
LucasA33's Avatar
LucasA33 LucasA33 is offline
Member
 
Join Date: Jul 2011
Posts: 141
Gender: Male
Credits: 2,868
LucasA33 is on a distinguished road
Default

I am aware how hard scripting is, Believe me, I used to program for a game called Sherwood Dungeon (A game where you explore) which was a diffrent programing language, mind me; but I dear say:

I never asked for money for my programming.
You need to ""get a secondary job"" if all you plan to do in life is make programs and such.
Not calling you lazy, or being an complete jerk telling you to get a job.
I'm just saying:
Reply With Quote
  #10  
Old 08-20-2011, 04:08 PM
ipengu's Avatar
ipengu ipengu is offline
Member
 
Join Date: Aug 2011
Location: Central NY
Posts: 50
Gender: Male
Credits: 2,867
ipengu is on a distinguished road
Default

Not necessarily. I know quite a few people who only do coding for a living, make more in a month than I do running my websites, some with ads, and working a full time job at $13/hr.

All depends on your skill and how much of yourself you want to put into your work.
Always remember there will always be a demand for coders and graphic design people, as there are more people that can't do those things than there are that can.
__________________
Coder/Marketer/Etc
Super busy, lack of time for computer related things for awhile.

Current Mods:
Slim Profile | Disallow unfreezing adoptable
Longer Shoutbox | IP Tracking/Account Limiter
Colorblast | Flux Series

In the works:
Integrated Forum (Very unlikely to be a free public mod, at first anyways)15%
Better admin control panel (current one is terrible)
Couple Themes
Few other things.
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 08: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 01:24 PM.

Currently Active Users: 162 (2 members and 160 guests)
Threads: 3,947, Posts: 31,433, Members: 15,534
Welcome to our newest members, w3st0on5.
BER





What's New?

What's Hot?

What's Popular?


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