vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Postbit mod help (https://vborg.vbsupport.ru/showthread.php?t=89150)

Ryan Ashbrook 05-15-2004 12:01 AM

Ok, hold on let me try it out.

Ryan Ashbrook 05-15-2004 12:05 AM

HTML Code:

<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid">Reply</a>
Taken directly out of the default vB 2.3.5 vbulletin-style.style file.

cindyd 05-15-2004 03:51 PM

Thanks Ryan, I will try that as soon as I can get into my site. I am getting a mysql error.

cindyd 05-15-2004 04:33 PM

I don't understand it, I copied and pasted just what you had (and I think I tried this one myself one or 20 times) and I am still getting that darn error message!

This is what I have above and below it

HTML Code:

                <td align="right" nowrap><font class="sf">

                        <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">Edit Post</a>&nbsp;&nbsp;

<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid">Reply</a>&nbsp;&nbsp;

 <a href="#top">Back To Top</a>


Ryan Ashbrook 05-15-2004 04:35 PM

Quote:

Originally Posted by cindyd
I don't understand it, I copied and pasted just what you had (and I think I tried this one myself one or 20 times) and I am still getting that darn error message!

This is what I have above and below it

HTML Code:

                <td align="right" nowrap><font class="sf">

                        <a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]">Edit Post</a>&nbsp;&nbsp;

<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$threadid">Reply</a>&nbsp;&nbsp;

 <a href="#top">Back To Top</a>


Odd, ok let me try it out on my vB2 Test board.

cindyd 05-15-2004 04:45 PM

It's kind of a relief to know I haven't been losing my mind. ;)

Ryan Ashbrook 05-15-2004 04:50 PM

I see the problem, $threadid isn't a variable supported in the postbit template. You'd have to hack it in.

Sorry, but you'll have to check over at vBulletin.org.

cindyd 05-15-2004 05:02 PM

Thanks for the help Ryan, I'll go over there and check.

Well that didn't take long, if it ever comes up again over here, this is the code:

HTML Code:

<a href="newreply.php?s=$session[sessionhash]&action=newreply&threadid=$post[threadid]">Reply</a>

Ryan Ashbrook 05-15-2004 05:19 PM

... oh. :p

I shoulda known that... :D

cindyd 05-15-2004 05:25 PM

Quote:

Originally Posted by Ryan Ashbrook
I shoulda known that... :D

I wish I had, I never thought to look over there since I assumed it was a template thing.

Now to straighten out the rest.....


All times are GMT. The time now is 06:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01061 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete