Announcement

Collapse
No announcement yet.

Need a couple of codes

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aracnakat
    replied
    After much searching .. trial and error, I found them. Just in case anyone else out there is looking:

    Forum Description: $foruminfo[description]
    Thread Title: $thread[title]

    /dla

    Leave a comment:


  • Aracnakat
    replied
    Josh,

    Thank you for your reply .. but I already have that setting turned on. I don't think that I'm explaining this correctly and I'm just confusing people.

    Perhaps these "codes" are called variables ...

    On my page: http://www.thecsra.com/forums/forumdisplay.php?f=6 (in forumdisplay) I would like to put the forum description up over the Google Ad .. but I don't know the code/variable .. the name which starts with a dollar sign $.

    On this page: http://www.thecsra.com/forums/showthread.php?t=22 (in showthread), I would like to put the post's name up over the Google Ad .. and again need to know the code/variable.

    Hope this makes more sense.

    Thanks again and happy holidays!
    Donna

    Leave a comment:


  • ManagerJosh
    replied
    Try this:

    AdminCP > vBulletin Options > vBulletin Options > Forum Display Options (forumdisplay) > Enable Forum Description

    Set to Yes and Save.

    Leave a comment:


  • Aracnakat
    replied
    Thanks for your reply but I'm not looking for a hack to install Google ads ... I've already installed the Google ads into my Templates.

    I'm needing the codes ($code) such as $foruminfo[title].

    I need one for the Forum Description and one for the thread name.

    Does anyone out there know what these $ codes are by chance?

    Thanks!
    /dla

    Leave a comment:


  • Jose Amaral Rego
    replied
    Try this, if not I will give you another link on what you want to accomplish.
    There are alot of post on this subject in using conditionals to post in certain areas of your forum.

    http://www.vbulletin.org/forum/showt...623#post853623

    Leave a comment:


  • Aracnakat
    started a topic Need a couple of codes

    Need a couple of codes

    In the Forumdisplay template, I would like to add (under $navbar) the forum's description but I need the code. I added the forum's name and google ads as follows

    Page Example: http://www.thecsra.com/forums/forumdisplay.php?f=2

    PHP Code:
    $navbar
    <br />
    <
    center><font size="4" face="Arial, Helvetica, sans-serif">$foruminfo[title]</font><br /></center>
    <!-- 
    Google Ads Begin -->
    <
    center>
    <
    script type="text/javascript"><!--
    google_ad_client "XXXXXXX";
    google_ad_width 468;
    google_ad_height 60;
    google_ad_format "468x60_as";
    google_ad_type "text_image";
    google_ad_channel ="";
    google_color_border "FFFFFF";
    google_color_bg "FFFFFF";
    google_color_link "FF4400";
    google_color_url "008000";
    google_color_text "000000";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </
    script></center>
    <!-- 
    Google Ads End --> 
    AND .. on the Showthread template, in the same area (above Google) I would like to add the topic name of the individual thread but again, need that code.

    Example Page: http://www.thecsra.com/forums/showthread.php?t=10

    Any help would be appreciated.

    Thank you!
    Donna
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X