vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   XX posts to a thread on non vb page (https://vborg.vbsupport.ru/showthread.php?t=31135)

Mac Write 10-24-2001 01:50 AM

I am wanting to create a thread per article/news item on my site.

On the Index pages after the breakquote, I want

"Post a Comment" if there is no replies to the thrwad or
"XX comments" if there is.

So what is the code I need to add to display the info? I am totally new to php.


Thanx

P.S. I had no clue what to search for to see if this hack is already out :D

Reeve of shinra 10-24-2001 01:57 AM

Im kind of doing the same thing ... I used Tubedogg's LAST XX hack to display a list of articles.

Right now I am trying to figure out how to alter that hack to show the article article (rather than taking them to that forum) after a user clicks the link.

( I was thinking of editing the showthread.php file but I am not sure what I need to do to strip it to the basics that I would need).

If you figure this out, let me know lol

Mac Write 10-24-2001 02:27 AM

No No

I want to manually insert the code under a news item that says either "Post a Comment"or "XX Coments" and then when you click the link it takes you to the thread. (come to think of it the "Post a Comment" when there are no replies should take you to the post a comment dialogue forthat thread)


All times are GMT. The time now is 05:13 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.01562 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete