![]() |
Show posts instead of threads... HELP!!!!!
Code:
<?php how to change the above script to show posts in one of the threads instead of threads in the forums ?? |
nice script, it's one of mine, where did you get it from?
the answer: PHP Code:
|
in one of the post here... anyway you got any idea how to make it show posts instead of threads ???
|
never posted it here :)
just gave it away to one or two, but no problem, i was just faszinated to see it here ;) well, use the code i posted above, it should work for posts instead :) |
Code:
<form enctype="multipart/form-data" action="http://some forums/newreply.php" name="vbform" method="post"> if i use this on a non-vb page, how to i let it redirect back to this non vb page after someone has posted ??? |
Xenon, what does this exactly do?
|
@viper: please use code tags whenever you post code lines, it's so hard to read without....
well, you have to hack newreply.php and change the redirect-code whenever it's called by this non vb-script... @Drk: It's the newsscript i use on my site, just a few lines i coded long time ago, because my mainpage is on a different server than the board, so i can't use a normal portal :) |
Quote:
btw im not quite used to the vb codes, hope u can enlighten me regarding the changing of codes for redirect. Thanks :) |
hmm, in your non vb-script after that:
Code:
<input type="hidden" name="s" value=""> Code:
<input type="hidden" name="redirectnonvb" value="1"> find: PHP Code:
PHP Code:
|
Thanks... Xenon
another question... the 1st code i post here... is to show the last 5 post rite... if i want to make it to show all, how to make like show 5 or 10 per page ??? |
perpage viewings isn't that easy, but possible, too
just play around with the limit tag of mysql :) |
Wow, this looks very useful in my case. Would I be able to receive the code...unless that is that above :)
If it is, may I have permission to use it? |
Arunan, of course you can get it and use it.
but it's just a little newsgrapper to get the news out of the db, not very special, and i think it wasn't coded perfectly, it just fits my needs for my site ;) but if you want it, ask per pm again so i cant forget ;) |
Xenon: some question to ask...
how to auto logout after you have post a reply and redirect back to the non vb page ??? and the login cant seems to work... does it need to be in the same folder as the forums files ??? |
the autologout is after 15 minutes...
that's why cookietimeout is there. for redirect just change the redirect link. |
All times are GMT. The time now is 02:56 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|