The vB Geek

Go Back   The vB Geek > vB Geek Modifications > Tutorials

Tutorials Tutorials and articles on using vB Geek stuff.

  Learn how to remove ads

Tutorial Tools Display Modes
GARS: Module making 101
GARS: Module making 101
Published by The Geek
Default Persist stage

the persist stage is where we save whatever custom entries we want to save.
The first thing we do is capture the variable from the GPC:
PHP Code:
$my_rating $this->vb->GPC['custom1']['my_rating']; 
Now we can validate it (or in this case not!) and apply it to our $values array like so:
PHP Code:
$values['my_rating'] = $my_rating
And GARS will do the rest!

Tutorial for


Tutorial Tools
Show Printable Version  Email this Page 

<<  <    Next Page: Display stage (Page 4 of 6)    >  >>
By Origin2 on 08-27-2008, 11:01 AM

wow thanks useful stuff ^^
Reply With Quote

Tutorial 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
Tutorial Tutorial Starter Category Comments Last Post
making a gab block for gars benj Geek Advertising Banner System 12 08-21-2006 09:42 AM
Problem with the module from the Tutorial 101 trana Geek Article and Review System 4 03-28-2006 07:37 AM
GARS: Module making 102 The Geek Tutorials 0 02-22-2006 09:00 PM
Does anyone have a GARS module that allows an image to be loaded in the module... FRAiD Geek Article and Review System 6 02-11-2006 10:57 AM
If I am using GARS for game reviews, and start making reviews and add new modules... FRAiD Geek Article and Review System 1 02-10-2006 05:57 PM

All times are GMT. The time now is 04:13 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

Tutorial powered by GARS 2.1.9 ©2005-2006