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, 03:07 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 38,533
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, 05:57 PM
rickasawr's Avatar
rickasawr rickasawr is offline
Member
 
Join Date: Apr 2011
Location: United States
Posts: 51
Gender: Male
Credits: 8,624
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, 02:11 AM
Kaeliah's Avatar
Kaeliah Kaeliah is offline
Premium Member
 
Join Date: Sep 2010
Location: Pennsylvania, United States
Posts: 485
Gender: Female
Credits: 38,533
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, 12: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: 490,366
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 01:40 AM
Looking for someone to code for me :) Infernette Staff Central 33 02-03-2014 05:44 PM
Looking for writers and programmers :) tittlemouse Staff Central 10 06-13-2011 11:17 PM
Invite Code/Alpha Code Shex Questions and Supports 0 03-07-2011 05:08 AM
Lots of requests (paid if any programmers are interested?) Kyris Suggestions and Feature Requests 3 01-23-2011 12:08 PM


All times are GMT -5. The time now is 03:31 PM.

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