PDA

View Full Version : A little help with a module I am trying to work


PtP
08-01-2004, 04:17 AM
<if condition="$vba_options['portal_welcome_newposts']"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts]</a>: $newposts<br /></if>

This is from your welcome module thats why it looks familar ;), could one of you clever people show me what I would need to alter to get it to only look for new posts out of one particular forum id instead of the whole forum it would set me on my way.

Thank you in advance.

da prez
08-01-2004, 03:18 PM
something like this :

<if condition="$vba_options['portal_welcome_newposts']"><a href="$vboptions[bburl]/search.php?$session[sessionurl]do=getnew&forumid=xxx">$vbphrase[new_posts]</a>: $newposts<br /></if>
replace the xxx with forum id #

i am not a coder if it is wrong i apologize.

but why would you want it to tell you how many posts there were in only one forum ?

to each his own :D