The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 07-01-2006, 07:36 AM
COBRAws COBRAws is offline
Member
 
Join Date: Oct 2005
Location: Buenos Aires
Posts: 49
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default A way of putting Date Selector results into threadtitle?

Hello, want to know if there is some way I can add the results from Date Selector into the thread title.

Example:
On creating a new thread, you enter the tittle and the dame with Date Selector.

When the thread is published, the title is shown as: TITLE - DateSelectorResult

Thank you,
Jack
Reply With Quote
  #2  
Old 07-01-2006, 08:57 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Sure.

Check out what the field name is for your date selector (via admincp->gars->custom fields). It will be like gars3 or gars5 or whatever.

Then edit your gars_pb (or create a copy and a new template set). Then where the title is, put $post[gars3] next to the title

Hope that makes sense!
Reply With Quote
  #3  
Old 07-02-2006, 01:08 AM
COBRAws COBRAws is offline
Member
 
Join Date: Oct 2005
Location: Buenos Aires
Posts: 49
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
Sure.

Check out what the field name is for your date selector (via admincp->gars->custom fields). It will be like gars3 or gars5 or whatever.

Then edit your gars_pb (or create a copy and a new template set). Then where the title is, put $post[gars3] next to the title

Hope that makes sense!
Well, I added next to the title i See on GARS_pb (edited template), there are two places where I added it:

Code:
        <if condition="$post['GARS_header_image']">
            <div style="float:$stylevar[left];">
            	$post[GARS_pre_header_image]<img src="$post[GARS_header_image]" border="0" alt="$post[title] $post[gars3]" />$post[GARS_post_header_image]
        	</div>
        </if>

And here:
Code:
        <p align="center"><font size="5">$post[title] $post[gars3]</font></p>
        <div class="smallfont">
            $vbphrase[GARS_published_by] <a href="member.php?u=$post[userid]">$post[musername]</a><br />
            $vbphrase[posted] $post[postdate]
       </div>
BUt the tittle remains the same. Its weird. Sorry for wasting your time on this TheGeek lol .
Reply With Quote
  #4  
Old 07-03-2006, 03:59 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Is there a value in the custom field? I.e. if you put the custom field mosule in, does the value show up pthere?
Reply With Quote
  #5  
Old 07-03-2006, 05:08 PM
COBRAws COBRAws is offline
Member
 
Join Date: Oct 2005
Location: Buenos Aires
Posts: 49
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

in GARS > Modules > "My module name" > Custom Field (setted with date selector?)

Yes, I have added the custom field with the date selector to show up in Showthread and shows up OK in every new thread published. But not inside the tittle after the original title.

Thank you.

(ps: i dont need this ASAP, i can wait until you come back from your days off cya)
Reply With Quote
  #6  
Old 07-04-2006, 01:26 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Cool. Just bug me when I get back home
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
GARS Threadtitle snobbytec Geek Article and Review System 1 05-04-2010 04:08 PM
date selector custom field won't allow dates before 1970 Mark Seifert Geek Article and Review System 1 06-30-2009 07:00 PM
Putting Attachment Images Anywhere in the Article Neutral Singh Geek Article and Review System 1 04-23-2009 05:59 AM
Date saying December 31, 1969 for info block & date problem with thread preview alldoulas Geek Gazette 0 08-04-2007 05:48 PM
Member selector?? indie Geek Article and Review System 0 07-23-2007 11:06 PM


All times are GMT. The time now is 07:55 AM.


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