Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Tutorials and Tips

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-02-2011, 02:07 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,181
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default Useful Code Snippets for Non-Programmers

Okay so obviously we aren't ALL programmers, but it would be nice to make small edits to your site, right? Well here's a list of small edits you can make, although you should probably know a little HTML.

1. Add Logged In User's Name
Sometimes you want to welcome someone, or identify them in some way. This is a very easy thing to do! You'll notice that all HTML & most text is between two quotes (" " or ' '). So where ever you want to add the users name between those quotes put:

PHP Code:
".$loggedinname." 
or if that doesn't seem to work use:
PHP Code:
'.$loggedinname.' 

Please give me requests as I'm not feeling very inspired right now. XD
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #2  
Old 04-29-2011, 04:57 PM
rickasawr's Avatar
rickasawr rickasawr is offline
Member
 
Join Date: Apr 2011
Location: United States
Posts: 51
Gender: Male
Credits: 7,522
rickasawr is on a distinguished road
Default

How many users that are currently online?
How many Pets that are adopted?
Layout stuff.

all i could think of.
Reply With Quote
  #3  
Old 04-30-2011, 01:11 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 32,181
Kaeliah will become famous soon enough
Send a message via AIM to Kaeliah Send a message via MSN to Kaeliah
Default

Those can be found in some modifications if you check out that forum. :3
__________________
[My Shop] ♥ [My Blog] ♥ [Subscribe] ♥ [My Mods] ♥ [Mod TOS]
Reply With Quote
  #4  
Old 05-05-2011, 11:21 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: 331,428
Hall of Famer is on a distinguished road
Default

Actually they can also use this code:

PHP Code:
{$loggedinname
It is a matter of choice whether to use brackets or concatenation operators. I am more fond of brackets, but they can go wrong at times.
__________________


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
Standards for PHP programmers, which category are you in? Hall of Famer Webmasters Area 4 10-05-2014 12:40 AM
Looking for someone to code for me :) Infernette Staff Central 33 02-03-2014 04:44 PM
Looking for writers and programmers :) tittlemouse Staff Central 10 06-13-2011 10:17 PM
Invite Code/Alpha Code Shex Questions and Supports 0 03-07-2011 04:08 AM
Lots of requests (paid if any programmers are interested?) Kyris Suggestions and Feature Requests 3 01-23-2011 11:08 AM


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

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