![]() |
Works great! I'm using vBulletin 2.2.6 and have the last (5) posts displaying on my homepage at wildtexas.com.
|
I'm getting this error whenever i call up last10.php in my browser:
PHP Code:
Thanks in Advance :D |
thanks for the great hack!
is it possible to add a "reply" or "comment" button so users can click on it to reply to a post from the display? I put this on my Xoops site. it kept returning a blank page in the block until I removed the <? and ?> , this tip might be usefull to someone putting the call "<? include("last10.php"); ?>" in an Xoops block. thanks. |
Is it possible to edit this hack to NOT show thread that are in a PRIVATE FORUM?
I've got this running on a beta site for my personal site.. but it shows threads from ALL forums...even the private ones.. which I can't have. Please lemme know. Aceman http://www.scifi-meshes.com/tk421/ <--- working beta. |
Put the private forum's ids in the exclude option in last10config.php
|
[QUOTE]Originally posted by Mist
I'm getting this error whenever i call up last10.php in my browser: PHP Code:
Thanks in Advance :D |
Thanks Travis641 :)
|
Can somebody help me get this hack so that it highlights the latest threads within 24 hours a different color?
I am only using the hack 6 times on my frontpage :p but this would really really help me. I don't know much about php, but I know how to follow instructions. :D If somebody could help me I would greatly appreciate it. Thanks! |
I'm getting the same error as MIST (Can't select database) can anyone help me?
|
so if I want to put link the latest post out in my normal html index page. I will have to put this code where I want the link to be?
<? include("last10.php"); ?> To include it on a server-parsed page (.shtml, .shtm, .ssi, etc.): <!--#include file="last10.php"--> and where do I upload these files to? domain.com/forums/ ? ??? thanks |
Helpppp
|
damn has any one got this to work on vb index.php? Because I got it to work but cant call the php file ? can some one help me out?
|
Does anybody know how to get this hack so that when you click on the titles it takes you to the first post in that thread and not down the page SOMEWHERE in the thread?
I know this shouldn't that hard to fix and was hoping somebody here would be kind enough to help me out on this. Thanks for any help you can provide. |
Quote:
First, put this in your phpinclude template: PHP Code:
PHP Code:
Note that if you want to use this script in more than one place - say, one on your vb index (or it's own template, like I do) and one on your non-vb home page - you will want to use two instances of it. I renamed one last5.php and use it for my front page minus the change I outlined above. |
thank you so much works GREAT!!!!!!
|
Hey tubb, nice hack but I'm using frames on the main site where I'm showing this. Is there a way I can make the links open in a new window?
|
Quote:
|
i've had this hack installed for ages but now on my new server with same PHP 4.1.2 version i notice these errors in my error_log
i have 2 copies of last10.php and last10chitchat.php included on the same page i.e. http://www.eva2000.com/forum/ and 1 copy included at http://bubblegumcrisis2040.com/forum/ Code:
[Sat Aug 10 14:03:23 2002] [error] PHP Warning: Use of undefined constant lastpost - assumed 'lastpost' in /home/username/public_html/last10.php on line 188 |
When in doubt, escape your variables (i.e. put '' around them). Looks like PHP is interpreting the html as php code to me.
I've edited the hell out of this hack (got it to work with my CSS styles, got rid of queries I wasn't using, etc) and that was usually the problem I had when weird errors popped up. If you check the html output of the script in a vaildator I bet you will find the same thing. I catch a lot of minor errors that way. |
Wonderful hack! Thanks! :D
|
thank you this works well...I used the suggestion noted in a previous post to use vb templates to show a page called activetoday.php and it uses only 6 queries! :)
just notice one issue though; i have my board set so that unregistered users can post and it does not pull these posts...not sure if it's just anyone who's unregistered or those who dont put a name and posts as "unregistered". any suggestions on how i might correct this? thanks for the hack! |
is it possible to have also the name of the category beside the title?
|
Quote:
No problems with 2.2.6? Thank you. |
Quote:
|
I think I've almost got this hack to work, but I'm being denied access to MySQL. Here is the error I'm getting:
Quote:
|
sorry to be a pain but for some reason im getting this
Quote:
|
Is it possible to modify this for use with polls also?
Kjetilpa |
Is it possible to use this on a non-VB page on another server?
I share a board with another site. The site is hosted on their server, I'm attempting to have the last posts shown on a non-VB page on MY server.. Is this possible? thanks. |
does anyone know why im getting this
X-Powered-By: PHP/4.1.2 Connection: close Content-Type: text/html at http://www.affiliate-review.com i cant seem to find the code in last10.php any help would be appreciated :):)` |
Quote:
|
fonz, looks like it may be the path to your config.php file. The scripts can't open the connection to MySQL. Try the options in the link in my previous post if you're still having probs.
Darren. |
Why is everyone early on in this thread set as a guest?
Odd! ~veedee |
Quote:
|
Ahh righty!!
This is my effort so far. http://www.visordown.com/forums/last10.php What's up..anyone know? |
you have set the path wrong, it should be ./admin/config.php for you.
|
Ahh ok I searched for another post that said I should replace something in my last10.php file so I did it was this code
PHP Code:
|
I'm new to all this hacking i get this error message what am i doing wrong
Warning: Unable to access /admin in /home/virtual/site10/fst/var/www/html/forum/last10.php on line 13 Fatal error: Failed opening required '/admin' (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site10/fst/var/www/html/forum/last10.php on line 13 |
Quote:
The only problem with it I see is it displays the post times as server time, not local time. Is there any way to fix this? I looked as much as I could through this monstrously long thread for an answer, but I didn't see one. Thanks again, and keep up the good work. See it in action at http://badass.icestorm.com :nervous: |
Fatal error: Failed opening required '/www/eroweb/admin/config.php' (include_path='.:/usr/local/lib/php') in /home/www/eroweb/last10.php on line 13
i am getting this error please help |
I have a question. How do I make the Thread Titles and the number of views, replies etc. bold? What do I have to change and in what file? I think it would look much nicer if the text were bold.
Thanks! Here it is on my site as a test www.fusionarena.com/newindex.php |
All times are GMT. The time now is 03:28 PM. |
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:
|