The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
adding replys (0) to custom script
I received this script from Turcic.com and I am modifing it to meet my needs for a new home page that I am working on!
you can see it in action here: http://www.sportsrant.com/indexpost.php I actually have it working great but I want to add one small feature!! the replies/comments that are posted to it in the forum that I am pulling this from: the "full story" works fine and goes to the forum post. I was wondering if someone could help me add the replies to it: here is the code: PHP Code:
PHP Code:
PHP Code:
ANYONE!!!!!! |
#2
|
||||
|
||||
I am not sure what you want exactly ...
Do you 1) want to show the whole thread at this page or 2) do you want to have reply-functionality? For 2) PHP Code:
Or do you want smth. completely different? |
#3
|
|||
|
|||
I want to have that ability and right next to that show the number of replies in (3) [example]. is that something that can be done
|
#4
|
||||
|
||||
Replace
PHP Code:
PHP Code:
PHP Code:
PHP Code:
(Full story, 3 Comments [Comment this]) |
#5
|
|||
|
|||
i added your code and I am getting this in the bottom!
(Full Story, Array{replycount] Comments [Comment this]) any ideas!!! |
#6
|
|||
|
|||
nevermind, it was "{" and should be "[", thanks so much
|
#7
|
|||
|
|||
man thanks so much, that is great. I really appreciate the help, I just could not figure it out
|
#8
|
||||
|
||||
Quote:
|
#9
|
|||
|
|||
no problem man, I do it more than anyone
|
#10
|
|||
|
|||
Hey man I am going to ask one more favor........ What about adding one more call to the DB to see who actually posted the article...... Like:
story.................... Written By: (username) (Full Story...., Comments (2)) |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|