vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   custom php file like showthread.php : can someone create for me? (https://vborg.vbsupport.ru/showthread.php?t=199769)

Harmachis 12-25-2008 08:10 AM

custom php file like showthread.php : can someone create for me?
 
Hello,

I want to create a PHP file like showthread.php

Can u plz help me ?

Its structure should be like this:

https://vborg.vbsupport.ru/external/2008/12/12.png
  1. there’s no extra button like post reply
  2. There’s no postbit, Massage filed have just two columns. One is for Avatar & user name, other is for MASSAGE.
  3. It can be used to read any thread. i.e. - if this file name is viewthread.php then u can view number 1 thread with viewthread.php?t=1 & number 2 with viewthread.php?t=2 etc….

Can some one plz create this file for me ???
Please.

tnx in advance.

pnosko31 12-26-2008 11:38 AM

1. and 2. can be done with template edits.

Harmachis 12-26-2008 10:49 PM

i dont want to edit the showthread.php file or any template
i need a new php file (all code there, no templates require)

Marco van Herwaarden 12-27-2008 10:48 AM

You would need to create it yourself, as the vBulletin files are copyrighted and can not be distributed. See the License Agreement

Harmachis 12-28-2008 01:32 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1694681)
You would need to create it yourself, as the vBulletin files are copyrighted and can not be distributed. See the License Agreement

yes thats what i said.

i dont want to edit/disturb any vBulletin file or templetes.

i just want to creat a new PHP file & im asking if someone can make such a file...

just need ur help guys to make one for me :)

Marco van Herwaarden 12-28-2008 04:40 PM

Open your editor and start typing.

Maybe i understand you wrong but i really can't think of another answer.

Lynne 12-28-2008 04:47 PM

Take a look at these articles - How to create your own vBulletin-powered page! (uses vB templates) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. - they will get you the basic page. Then, inside that page, you will want to grab the query that showthreads has to get all the posts in a thread given the threadid that is passed. Then, create a new template to use instead of the postbit template that spits out only the name, avatar, and message content and use it instead of the postbit.

Harmachis 12-28-2008 09:01 PM

tnx lynne


All times are GMT. The time now is 12:57 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.01130 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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