The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
error in rss threads
inorder to print rss thread on statistics i have created hack is called rss_thred. its codes are like following
PHP Code:
threads which are opened by rss_poster are 775 but hack says they are 7 where is my error ? |
#2
|
|||
|
|||
Have you tried using a userid then Username?
|
#3
|
||||
|
||||
like this ? (the same result (7))
PHP Code:
|
#4
|
||||
|
||||
Hmmm, I tried that on my site for a couple of different userids and it worked fine. Where are you getting the count of 775?
|
#5
|
||||
|
||||
like you see in attchment
pic.-1 : query i run in PMA and its result = 775 pic.-2 : my plugin codes pic.-3 : codes in forumhome pic.-4 : result in home where is my error ? |
#6
|
|||
|
|||
Are you sure you are working on the same database in PMA and vB?
|
#7
|
||||
|
||||
pic.1 = db name is forum and table name is thread
pic.2 = forum's config.php file pic.3 = result of query i run in admincp (vBulletin 3.7.0 Beta 3 ) |
#8
|
||||
|
||||
I have no idea if it makes a difference, but shouldn't the line be:
$rssp = $rssp['total']; (with the single quotes) This gets the award for weird problem today! |
#9
|
|||
|
|||
The variable to use in your template is $rssp, not $rssp[total].
Or you must remove the line: $rssp = $rssp['total'] from the plugin. |
#10
|
||||
|
||||
ok thanks
when i remove $rssp = $rssp['total'] it is ok |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|