PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

PostPosted: Thu Nov 13, 2008 6:09 pm Reply with quote Back to top

Im not the best writer or publisher but I will start on the RNYA Documentation, Feel free to add, edit, burn, color-in any part of it.

RNYA (Raven Nuke Your Account)

The your account or RNYA module allows users to login, logout and resgister at your site.This allows them slightly elevated privilledges to view content that would otherwise be un-available.It also allows any content or posts they make to be associatated with there username.

RNYA also assigns visitor's and user's to your site with a unique key or seesion key that is stored in a cookie.The cookie DOES NOT contain any of your personal information, It is there to hold your settings for the site.

you can also;


    view your user page.
    administer users at Administration >> Edit Users ( admin.php?op=yaAdmin )
    create new users at Administration >> Edit Users >> Add a new user ( admin.php?op=yaUsers )
    create custom fields for registration Administration >> Edit Users >> Custom Fields ( admin.php?op=yaCustomFields )
    configure user registration, user email, and user settings at Administration >> Edit Users >> Configuration ( admin.php?op=yaUsersConfig )
    allow users to select themes from their user account by enabling themes in Administration >> Edit Users >> Configuration >> Permissions Tab



RNYA Custom Fields

RNYA has a great feature that allows Administrators to create there own fields with out having to know php.These fields can be setup in such away that they are required at Registration or just a custom field in the users account page.Custom Fields also has the option to use language constants and is set up as stated in the following example;

I want to add a gender field so that users can tell everyone if they are Male or Female.I have decided to use a drop down box with 3 options.The first option will just be "Select" and the second and third options will be "Male" and "Female".So first of all we will define the language constant for "Gender".

Add To: language/lang-english.php
Code:

if(!defined('_MYGENDERFIELD')) { define('_MYGENDERFIELD','Gender'); }


Next go to your website and log-in as admin.Then proceed to Administration >> Edit Users >> Custom Fields.

Click For Bigger Image
Only registered users can see links on this board!
Get registered or login to the forums!


In the first text box (ID Field Name) enter your defined constant, in this case _MYGENDERFIELD.

Now we want to add the drop down box with our 3 options.The way to create a drop down box in RNYA is to use 2 Colons ::, so in our case it will be;

Code:

Select::Male::Female


I always set the Size field as well, although it is not really required with a drop down list.But I will set it to 10 anyway.The next field is the Status field which allows you to select whether our new custom field will

1. Show at registration
2. Show at registration as a mandatory field (must be filled out)
3. Or Active which only makes it visible in the users your account page.

Next you can set the order of the field, So if you have 2 fields called Field1 & Field2 with an Order of 1 and 2 respectively, Field1 would be the first filed you see.

And finally select whether you want the Field to be public or not.If it is set Public, Anyone viewing your user profile will see this filed.

And here is the final result when looking in your users account page.

Click For Bigger Image
Only registered users can see links on this board!
Get registered or login to the forums!


If this has been helpfull please private message montego and say thank you. Shocked
View user's profile Send private message
fkelly
Moderator


Joined: Aug 30, 2005
Posts: 3186
Location: near Albany NY

PostPosted: Thu Nov 13, 2008 9:51 pm Reply with quote Back to top

Testy, please don't post in two places at once. We do appreciate the effort that was made in this post and it would be even more valuable if it was just in one forum thread. You can be sure we will find it.

The RN team is working diligently to come up with an agreed upon approach to documentation so the material can be created once and stored in one place and found by all. Once we have that in place you can be sure we will incorporate the excellent start you've made here. Thanks. And please feel free to post anything else you come up with.
View user's profile Send private message Visit poster's website
testy1
Involved
Involved


Joined: Apr 06, 2008
Posts: 483

PostPosted: Fri Nov 14, 2008 12:38 am Reply with quote Back to top

No problems, Thought it would be best in a post on its own thats why I did it that way.

feel free to tack it on the end of the other post if you like.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum