The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
code in phpinclude....
I am trying to display the forum title, number of threads and forum discription of a specific forum (id=150) on a non vb page that I have integrated into vb and has isn't own template.
problem is...I don't know what to put in the phpinclude template to allow me to do this. can anyone help me? thank you |
#2
|
|||
|
|||
If it's a non-vB page then there's nothing you can easily do because phpinclude is only executed on vB pages.
|
#3
|
||||
|
||||
it is integrated into vbulletin
here is the php for the page: PHP Code:
can there not be code written to the phpinclude template to draw the forumtitle,threadcount and forumdescription of forumid 150 and display that info in the classifieds template with a call like $forum150 ? |
#4
|
||||
|
||||
anybody have any suggestions?
|
#5
|
||||
|
||||
was it something I said?
|
#6
|
|||
|
|||
Sorry but since it involves hacking you have to ask at https://vborg.vbsupport.ru/ .
|
#7
|
||||
|
||||
what hacking?
the php script I displayed above is already written and putting code in the phpinclude template is not hacking....it is a template modification....isn't it? I have another page using the same script calling a different template and I was able to put code in the phpinclude to display the usernames that were on that page without hacking.....why is this different? plus...I did ask this at vbulletin.org and I am getting the same cold shoulder |
#8
|
||||
|
||||
I figured it out and since I received so much kindness and friendly help...I will return the favor and post the code...
PHP Code:
thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|