The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help Fetching Latest Social Groups!
On the social groups page there's a block called "New Groups". I would like to know how I can copy the script that shows the latest social groups to use elsewhere on my site.
I alredy tried turning on debug mode and finding the template, but by copying that template notihng happens. Is there any way to achieve what I want to do? |
#2
|
||||
|
||||
templates only spit out results. You can't just copy a template and get the results. You need to copy the code also. I believe the code is in the groups.php page.
|
#3
|
|||
|
|||
Quote:
PHP Code:
|
#4
|
||||
|
||||
Copy it into the page you are making? Make sure the functions called in that code are also available for use (through a require_once statement - they may already be available, but you should check to be sure). Also make sure to cache the templates.
|
#5
|
|||
|
|||
Quote:
PHP Code:
|
#6
|
||||
|
||||
That is your page? Do you have a template named "testfornewgroups"? The template you have listed to be cached is called "TEST" - where are you using that?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|