The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to get the info about subforums
hey,
im using VBADVANCED and ive created tables on the main page which showing all the forums and subforums.. but i want that when the user moving the mouse over the forum link he will get the forum info (means: forum description, num threads, num msgs etc..) any idea ? |
#2
|
||||
|
||||
Assuming you know how to code PHP and work your head around vBA's modules, you can add a "title" attribute to the link, and inside that attribute, place information about the forum. The information can be fetched from the forumcache in the datastore.
|
#3
|
|||
|
|||
this is what i ask, how do i fetch the information from the forumcache ?
when i write the variables like "$vbphrase[threads]: $totalthreads,", its ofcourse, not working. |
#4
|
||||
|
||||
The forumcache can simply be accessed using $vbulletin->forumcache. Do a print_r() on the array to see what it contains.
|
#5
|
|||
|
|||
im sry but im rly noob with this ..
ive created a "bb code" with the VB ADVANCED , now i wrote the simple html code : Code:
<table cellspacing="0" border="0" width="100%" align="center" cellpadding="5"> <tr name="2"> <td align="right"><a href="/forums/forumdisplay.php?f=15"> מכניקה</a></td></tr> <tr name="3"><td align="right"><a href="/forums/forumdisplay.php?f=16"> חשמל</a></td></tr> <tr name="4"><td align="right"><a href="/forums/forumdisplay.php?f=17"> קרינה וחומר</a></td></tr> <tr name="5"><td align="right"> <a href="/forums/forumdisplay.php?f=26"> מעבדה</a></td></tr></table> sure, not to write directly the description.. but "$vbphrase[threads]: $totalthreads" for e.g.. so how im doing it ? thanks alot. --------------- Added [DATE]1248864850[/DATE] at [TIME]1248864850[/TIME] --------------- any help please? |
#6
|
|||
|
|||
still asking for help..?
|
#7
|
|||
|
|||
guys this is really important to me, plz help..
|
#8
|
||||
|
||||
I am not that familiar with vbadvanced (I don't use it), but somewhere in your module, you need to access the forumcache as Hanson said in order to get the info you want. Have you added that code to your module?
|
#9
|
|||
|
|||
yes i know,
"somehow" : this is exactly what i need u guys to tell me how to do. how do i add the code so i could access the forumcache as u guys said . |
#10
|
|||
|
|||
For help with writing a vBAdvanced module you should ask at their site.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|