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 01-12-2008, 02:36 PM
Namaless Namaless is offline
Member
 
Join Date: Oct 2007
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Exclamation vBulletin 3.7 and prefix

Hi, I found one problem with GARS:

I have more forums with required prefixs, but when create a new review, the prefix select box not appear.

The fix is added prefix template code into review template, but if GARS have full compatible with vBulletin 3.7 prefix system I is more happy!

Thanks for beautifull add-on for vb
Reply With Quote
  #2  
Old 01-13-2008, 10:55 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
Member
 
Join Date: Mar 2006
Posts: 65
Geek Article and Review System License Holder 
Default

Yup. I can also confirm that the thread prefixes work when the prefix codes are added in the threadbit, newthread and editpost templates. It doesn't matter whether it's vB's, GARS or custom templates. It does take cutomization but that's what GARS is all about.
__________________
RelevantBuZZ - Sharing Content That Matters To Us
www.relevantbuzz.com - Launched 1.25.08
Reply With Quote
  #3  
Old 01-19-2008, 03:44 PM
Namaless Namaless is offline
Member
 
Join Date: Oct 2007
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Nothing news??
Reply With Quote
  #4  
Old 01-19-2008, 04:22 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

Seems like you know the answer.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #5  
Old 01-19-2008, 11:06 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
Member
 
Join Date: Mar 2006
Posts: 65
Geek Article and Review System License Holder 
Default

There's no compatibility issues with vB's latest version as far as the introduction to Prefix goes. A copy & paste of vB's Prefix codes to the GARS templates is easy enough.

Hmm. I just repeated myself...
__________________
RelevantBuZZ - Sharing Content That Matters To Us
www.relevantbuzz.com - Launched 1.25.08
Reply With Quote
  #6  
Old 01-20-2008, 09:28 PM
Namaless Namaless is offline
Member
 
Join Date: Oct 2007
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by Freesteyelz View Post
There's no compatibility issues with vB's latest version as far as the introduction to Prefix goes. A copy & paste of vB's Prefix codes to the GARS templates is easy enough.

Hmm. I just repeated myself...
Yes, I have fixed with this method, but if GARS is update I like more..
Reply With Quote
  #7  
Old 01-20-2008, 10:31 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
Member
 
Join Date: Mar 2006
Posts: 65
Geek Article and Review System License Holder 
Default

As far as the templates go, the only difference would be that Morgan does the copy & paste. Give him time and wait for vB 3.7 to go Gold...Once it does more likely you'll have your wish.
__________________
RelevantBuZZ - Sharing Content That Matters To Us
www.relevantbuzz.com - Launched 1.25.08
Reply With Quote
  #8  
Old 01-21-2008, 04:25 PM
Namaless Namaless is offline
Member
 
Join Date: Oct 2007
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

Quote:
Originally Posted by Freesteyelz View Post
As far as the templates go, the only difference would be that Morgan does the copy & paste. Give him time and wait for vB 3.7 to go Gold...Once it does more likely you'll have your wish.
Thanks for support me
Reply With Quote
  #9  
Old 01-25-2008, 11:17 PM
CallieJo CallieJo is offline
Junior Member
 
Join Date: Feb 2006
Posts: 18
Geek Article and Review System License Holder 
Default

I did these GARS templates: threadbit, newthread and editpost

However, for some reason the new thread template does not show the prefixes even though the code is there. But, if I edit the post it will show the prefixes.

Anyone else have this issue and/or know how to fix it?

Here is what is in my GARS newthread template:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[post_new_thread]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newthread.php<if condition="$show['vb36']">?do=postthread&amp;f=$forumid</if>" method="post" enctype="multipart/form-data" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>
<!-- GARS Gallery-->
$GARS_options[gallery]
<!-- /GARS GALLERY-->
<!--GARS options-->
<script language="javascript">
    function LimitMultiLineLength(obj)
    {
        var iKey;
        var eAny_Event = window.event;
        iKey = eAny_Event.keyCode;
        var re
        re = new RegExp("\r\n","g")
        x = obj.value.replace(re,"").length ;
        if ((x >= obj.maxLength) && ((iKey > 33 && iKey < 255) || (iKey > 95 && iKey < 106)) && (iKey != 13))
        {
            window.event.returnValue=false;
        }
    }
</script>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_GARS_options')"><img id="collapseimg_newpost_GARS_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_GARS_options].gif" alt="" border="0" /></a>
                        $typeinfo[keyword_c] $vbphrase[GARS_options]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_newpost_GARS_options" style="$vbcollapse[collapseobj_newpost_GARS_options]">
        <tr valign="top">
                <td class="panelsurround" align="center">
                <div class="panel">
                        <div style="width:$stylevar[formwidth]" align="$stylevar[left]">
<fieldset class="fieldset">
                                        <legend>$vbphrase[title]:</legend>
<div style="padding:$stylevar[formspacer]px">
<input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="$vboptions[titlemaxchars]" tabindex="1" /></div></fieldset>
$GARS_options[options]
                </td>
        </tr>
</tbody>
</table><br />
<!--/GARS options-->
<!-- GARS ratings-->
$GARS_options[ratings]
<!-- /GARS ratings-->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
        <td class="tcat">
                <span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
                $vbphrase[post_new_thread]
        </td>
</tr>
<tr>

        <td class="panelsurround" align="center">
        <div class="panel">
                <div style="width:$stylevar[formwidth]" align="$stylevar[left]">

                $usernamecode

                <!-- subject field
                <table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<if condition="$prefix_options">
				<td class="smallfont">$vbphrase[prefix]:</td>
				<td class="smallfont" colspan="3">$vbphrase[title]:</td>
			<else />
				<td class="smallfont" colspan="4">$vbphrase[title]:</td>
			</if>
		</tr>
		<tr>
			<if condition="$prefix_options">
				<td style="padding-right: 1px">
					<select name="prefixid" class="bginput">
						<option value="">$vbphrase[no_prefix_meta]</option>
						$prefix_options
					</select>
				</td>
			</if>
			<td>
				<input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="$vboptions[titlemaxchars]" tabindex="1" />
			</td>
                        <td>&nbsp;&nbsp;</td>
                        <td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>                </tr>
                </table>
                 subject field -->

                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
                        <td>

                <!-- message area -->
                <div class="smallfont">$vbphrase[message]:</div>
                $messagearea
                <!-- / message area -->

                $posticons

                        </td>
                </tr>
                </table>

                </div>
        </div>

        <div style="margin-top:$stylevar[cellpadding]px">
                <input type="hidden" name="s" value="$session[sessionhash]" />
                <input type="hidden" name="f" value="$forumid" />
                <input type="hidden" name="do" value="postthread" />
                <input type="hidden" name="posthash" value="$posthash" />
                <input type="hidden" name="poststarttime" value="$poststarttime" />
                <input type="hidden" name="loggedinuser" value="$bbuserinfo[userid]" />
                <input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />
        </div>
        </td>
</tr>
</table>

<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
                        $vbphrase[additional_options]
                </td>
        </tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">
        <tr valign="top">
                <td class="panelsurround" align="center">
                <div class="panel">
                        <div style="width:$stylevar[formwidth]" align="$stylevar[left]">

                                <fieldset class="fieldset">
                                        <legend>$vbphrase[miscellaneous_options]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                                <if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
                                                <div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div>
                                                $disablesmiliesoption
                                        </div>
                                </fieldset>

                                $attachmentoption

                                <if condition="$show['member']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[thread_subscription]</legend>
                                        <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                        <tr>
                                                <td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
                                                        <option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
                                                        <option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
                                                        <option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
                                                        <option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
                                                        <option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
                                                </select></td>
                                                <if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
                                        </tr>
                                        </table>
                                </fieldset>
                                </if>

                                <if condition="$show['poll']">
                                <fieldset class="fieldset">
                                        <legend>$vbphrase[post_a_poll]</legend>
                                        <div style="padding:$stylevar[formspacer]px">
                                                <div><label for="cb_postpoll"><input type="checkbox" name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />$vbphrase[yes_post_a_poll_thread]</label></div>
                                                <div><label for="polloptnum">$vbphrase[number_of_poll_options]: <input type="text" class="bginput" size="5" name="polloptions" value="$polloptions" id="polloptnum" tabindex="1" /></label> <if condition="$vboptions['maxpolloptions']">($vbphrase[maximum]: $vboptions[maxpolloptions])</if></div>
                                        </div>
                                </fieldset>
                                </if>

                                $threadmanagement

                                </div>
                        </div>

                        <div style="margin-top:$stylevar[cellpadding]px">
                                <input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
                                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="1" />
                        </div>
                </td>
        </tr>
</tbody>
</table>

</form>

<br />

$forumrules

$footer

</body>
</html>
The red code is what I changed.

Last edited by CallieJo; 01-25-2008 at 11:20 PM..
Reply With Quote
  #10  
Old 01-26-2008, 10:38 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

That change needs to be placed further up in that template, as you are in a comment. I've also made a number of HTML changes, so if anyone wants those changes, they will need to revert any changed GARS template, grab the GARS package, re-import the product-gars.xml file (do NOT uninstall, do allow overwrite), and FTP two files:
  • gars_class_edit.php
  • gars_class_list.php
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
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
Prefix module h2ojunkie Geek Article and Review System 2 12-13-2008 07:48 PM
vB3.7 prefix and GARS daisukem Geek Article and Review System 1 07-04-2008 04:06 AM
Request: Thread prefix for GARS COBRAws Geek Article and Review System 3 05-02-2007 05:49 PM
anyone using GARS with thread prefix addon? benj Geek Article and Review System 6 11-21-2006 06:04 PM
Thread Prefix benj Geek Article and Review System 6 07-19-2006 11:09 PM


All times are GMT. The time now is 02:25 AM.


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