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)

cindyd 05-14-2004 09:34 PM

Postbit mod help
 
Hi:

I would like to change the reply w/quote button to just reply. I tried doing the change myself received the error that I had selected an invalid thread.
I am running 2.32

I have been having a terrible time working with changes in the show therad template for over a week.

I know if I was in my right mind I would most likely this out, but since I am in brain freeze mode, any help would surely be appreciated.

TIA
Cindy

Ryan Ashbrook 05-14-2004 11:14 PM

Can you provide an example of what you're trying to do? I'm sort of lost...

cindyd 05-14-2004 11:41 PM

Hi Ryan: I just noticed this board doesn't have a reply w/quote button.

I don't want people to respond with quoted messages (via the Reply w/quote button at the bottom of each post)

Instead I would just like a normal Reply. I have the buttons made etc., but I don't know what to change in the code. This is the code:

< a href="newreply.php?s=&action=newreply&postid=19821 " >Reply w/Quote</a>&nbsp;&nbsp;
(spaces used so code didn't get messed up)

Changing the name of the link doesn't do any good. I know it has to be in this part:

"newreply.php?s=&action=newreply&postid=?

You can see the old "quote" button here. I am trying to get rid of buttons and have links, so I just want to be able to have Reply in place of the button and have it NOT quote the previous message.

http://www.glassmavenhaven.com/forum...&threadid=2720

Thanks

cindyd 05-14-2004 11:41 PM

Quote:

Originally Posted by Ryan Ashbrook
Can you provide an example of what you're trying to do? I'm sort of lost...

See like this......

Ryan Ashbrook 05-14-2004 11:45 PM

So you want to make it just a link to make a new reply without quoting the post?

Easily done, in this:

HTML Code:

newreply.php?s=&action=newreply&postid=19821
Remove this:

HTML Code:

&postid=19821
Of course there will be a variable there instead of the number. ;)

cindyd 05-14-2004 11:50 PM

The actual code from the postbit template is:

<a href ="newreply.php?s=$session[sessionhash]&action=newreply&postid= $post[postid]"> <img src=" {imagesfolder}/quote.jpg" border="0" alt="Reply w/Quote"></a>

So after the &post= just leave it blank?

If that's it I knew it was something simple. :o

Ryan Ashbrook 05-14-2004 11:51 PM

Completely remove: &postid=$post[postid]

cindyd 05-14-2004 11:52 PM

I just tried that and got this

"No thread specified. If you followed a valid link, please notify the webmaster "

This is what I used:

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

Whoops, left something in

Ryan Ashbrook 05-14-2004 11:56 PM

Yeah, you gotta take out &postid= as well. ;)

Oh and if you wanna post the whole code without messing anything up use the [html] tags.

cindyd 05-14-2004 11:58 PM

Using this:

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

I am still getting that error. I've tried this too:

<a href= "newreply.php?s=$session[sessionhash]&action=newreply&threadid =$threadid">< font class="nf">< font color="#2f4f4f"> Reply</a>

and get the same error.


All times are GMT. The time now is 01:47 PM.

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.01023 seconds
  • Memory Usage 1,737KB
  • 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
  • (2)bbcode_html_printable
  • (1)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