PDA

View Full Version : custom php file like showthread.php : can someone create for me?


Harmachis
12-25-2008, 08:10 AM
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


there’s no extra button like post reply
There’s no postbit, Massage filed have just two columns. One is for Avatar & user name, other is for MASSAGE.
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 (http://www.vbulletin.com/order/license_agreement.php)

Harmachis
12-28-2008, 01:32 PM
You would need to create it yourself, as the vBulletin files are copyrighted and can not be distributed. See the License Agreement (http://www.vbulletin.com/order/license_agreement.php)

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) (https://vborg.vbsupport.ru/showthread.php?t=62164) or [How-To] vBulletin API Basics: Creating Custom Pages & Misc. (https://vborg.vbsupport.ru/showthread.php?t=98009) - 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