![]() |
Ok, I sorted out the problem with unregistered users not showing up, by searching through this thread for a similar problem.
One more thing I need to change is on the news section of my website. I require that the initial thread posting is shown on the news page, but subsequent replies to that thread are not shown, apart from the amount of replies. www.bbfc.org.uk right hand column. Is this possible ? regards, Jamie. |
Help!
While using last10 post, all of a sudden I'm getting this error: -------------------------------------------------------- MySQL reported this error while trying to retreive the info: The table 'SQL28cd73b_0' is full -------------------------------------------------------- Please help. Thanks |
<<edit>> sleepy.. need sleep *oo*
\ - / |
can you show me how to put this active thread into the phpnuke?
thanks |
Whether it is possible to make so that messages from the certain category were displayed only?
|
I believe there's a bug in the script:
If you setup a forum where only moderators are allowed to Post new topics (or a post has to be validated by a moderator), then if someone posts a topic on that forum, the topic doesnt show up in vBulletin (which is how its supposed to be). However, the topic DOES show up if this hack is being used to display the topics from that forum. -Abbas |
Tried to include it into footer.php (im using myPHPNUKE), worked ok, but showed this error:
1146: Table 'vb114.mpn_stories' doesn't exist and also didnt shows me the stories that was supposed to show :P Any idea? |
the html tags between [code] are included as html tags, which means i get often errors when displaying the pages. i think the problem will be solved, when lines between [code] are with < and > displayed, not with "<" and ">" ?
|
What do I need to do so instead of having the smileys before the subject, I could have the on/off.gif pics to show wether that post has been updated or not
|
tubedogg, will this work with 2.2.0???
|
I love this hack, but Netscape has been giving me headaches with this one for a WHILE. I finally got really fed up and kept tinkering until I found some solutions! Here is what I did, you can find a zip of the last10 files I changed here if you want to see them:
http://frugal-moms.com/last10NSfix.zip Note: I am using vBulletin 2.0.3, getting ready to install 2.2, will let you know if there are any problems! In last10.php (I called mine active.php): 1) Getting rid of that funky town text! I took all style tags (such as style=\"font-family:$f; font-size:$fs; color:$tc;\") out of the table tags (mostly td) and put them in font tags right after those tags. For example: Code:
echo("<td style=\"font-family:$f; font-size:$fs; color:$tc;\" align=\"center\"><b>Last Poster</b></td>\n"); Code:
echo("<td align=\"center\"><font style=\"font-family:$f; font-size:$fs; color:$tc;\"><b>Last Poster</b></td></font>\n"); I added an extra td cell at the end of each row so that the full length of the table rows (particularly the colored ones) would show up correctly in Netscape. There are two places that need this- in the top bar that defines each field and then again in the column that actually displays them- thread title, replies, etc. Here is where to find them: a) In top bar (the one that says Thread Title, Last Poster, etc)- which has displays your $hc color (right after the "Replies" column around line 50). Replace this: [CODE]echo("</tr>\n");[CODE] with this: Code:
echo("<td bgcolor=\"$hc\"> </td></tr>\n"); Code:
echo("</tr>"); [CODE]echo("<td bgcolor=\"$hc2\"> </td></tr>");[CODE] 3) Sprucing up the table: a) Message text tables- I hardcoded the colspan in line 231, replacing this: Code:
echo("<tr $twt bgcolor=\"$bc\"><td colspan=\"$cols\" style=\"font-family:$f; font-size:$fs; color:$tc;\" align=\"left\">\n"); Code:
echo("<tr $twt bgcolor=\"$bc\"><td colspan=5><font style=\"font-family:$f; font-size:$fs; color:$tc;\" align=\"left\">\n"); Code:
<table width="600" bgcolor="000080" border="0" cellspacing="0" cellpadding="0"><tr><td> http://frugal-moms.com/boards/active5.shtml I use this script to show forums within certain categories since I have so many boards. It comes in handy, and I'm glad that our Netscape uses can finally see this page correctly. I would still love to have the page show up to match the user-selected style of the boards rather than hardcoded, but I'm not sure how to make that work-yet! Kim:) |
when i reply to a thread, i get the last post as my 'post subject' anyone got the same problem?
-Mobile |
Woot Nice
|
|
The given script under vb2.2.1 works? And whether it can show messages only from the defined category?
|
Quote:
|
error:
Fatal error: Failed opening required 'http://boltalka.com.ua/admin/config.php' (include_path='.:') in /boltalka/last10.php on line 13 |
Quote:
How did you "set up my SHTM pages to be parsed by the PHP Isapi filter versus the ssinc.dll that is default."? I'm also a hopeless IIS user and this sounds like it will work for me. I'm not familiar with PHP though. Is this an IIS configuration change, a PHP change, or a registry tweak? Thanks |
Quote:
It IS an IIS configuration change, so just go into your management console and select the 'Home Directory' tab, then hit the 'Configuration' button. From here you will see all of the available extensions. Just click on the extension(s) that you want to PHP parse. I selected .sHTML. Assuming you have the basic install of PHP, just point the executable line to \Winnt\system32\sapi\php4sapi.dll and allow all verbs. Hopefully that helps!! -Brian www.mhogaming.com |
Thanks for the additional details...
It appears that I do not have a Winnt\system32\sapi\php4sapi.dll in fact the 'sapi' directory does not even exist under system32?! I figured I must have an incomplete install of PHP, so I re-installed PHP V4.0.6. Even after that install I do not have that directory or .dll?? When I run the last10.php script directly, I get several of the following 'warning' messages: Quote:
I'm pretty fresh to PHP - but willing to learn - no matter how painful it may be right now.... Thanks. |
In your PHP.INI file in the Winnt dir. You should change the showwarnings to OFF That way you will not get all those warning messages for undeclared variables. I lot of scripts use undeclared variables. Its the lazy way to initiate variables instead of declaring them outright :)
|
After putting the code on a non vb page and loading it where I put the code I get this error:
Fatal error: Failed opening required 'forumz/admin/config.php' (include_path='') in /home/theforum/public_html/forumz/last10.php on line 13 Any ideas on how to fix that or why I am getting that error? |
No matter what I do I get this error:
Quote:
|
Quote:
|
Sorry if this has been asked but 18 pages is a lot to read through. ;)
I have required registration but I still want to pull the 10 newest posts out to the main page. I would assume when people click the link they get the page stating they must log in or register. Is that correct? |
Someone can answer as struggle with this error?!
Fatal error: Failed opening required 'http://domai.com/admin/config.php' (include_path='.:') in /boltalka/last10.php on line 13 PLZ!!!! |
I'm sorry if I should have posted this in the Support forum, but it's relating to this hack. You can move it if it's a problem here.
Here's my question: I'm running my vB and site on seperate servers, and I'm having touble with the paths, can someone help? I have last10config.php at: http://www.yeswebmasterforums.com/last10config.php I have last10.php at: http://www.yeswebmaster.com/last10.php I get errors when I go to http://www.yeswebmaster.com/last10.php Can someone please tell me what the following need to be? On last10.php (? indicates where I'm toally lost: require("?") require("$path/config.php"); On last10config.php: $path = "/admin"; // path to your config.php file (usually in the /admin directory) - NO TRAILING SLASH! Do not include "config.php" $url = "http://www.yeswebmasterforums.com"; // URL to your board - NO TRAILING SLASH! The above are lines that I'm not sure what I need to put in. If someone knows, please help. I really appreciate it. Thanks, Jonathan P. Owner/Webmaster http://www.yeswebmaster.com http://www.yeswebmasterforums.com |
Can someone please help me?
|
Has anyone figured out the GMT offset thing yet?
Driving me (and the users) crazy :) JC |
i keep getting cant select db errors. the paths are coreect too :confused:
|
I think I have read every of the 270 posts here and still cant figure out how to make this work across servers.
How about the last10.php generating a text file on the forums server which I could then pick with javascript on the main site server? If possible I suppose it could be automated to run every xx mins but I need this for "latest breaking news" for a community site so my "news people" could run the utility after posting to the news section. Please please please is this a viable way of handling the different servers problem a lot of people are asking about? |
So, I'm guessing this doesn't work with 2.2.1?
|
ok, I got this working perfectly on http://www.highradiation.com on a php page... however... is there a way to get this on an ASP or HTML page with out SSI or PHP/MYSQL?
Is there an asp tag that will work? hope I didn't repeat anything, thanks so much |
Quote:
|
Anybody know if this hack works with 2.0.3?
And no, I am not upgrading. :p |
I originally installed this on vB 2.0.3 and it worked great. I upgraded to 2.2.0 and 2.2.1 and it still works great!
One question - has anyone modified the formatting to exactly match the default vBulletin New Posts or Todays' Active Topics formatting? |
how can i get this to span the width of an entire table, is there a way to specify the width of this?
|
Quote:
$tw = "100%"; // width of the table that shows the info, in either a percent ( e.g. 95% ) or in pixels ( e.g. 300 ). leave blank if you want the table to be sized naturally And just change the pixel number to 100% there. |
tubedogg remember the issue with this hack when a forum is closed the non-vb pages have all this gibberish displayed when the forums were closed ? and how you gave me a fix for that ? well for some reason it no longer works and nothing really changed
your fix before allowed me to close my forum and the last10 topics hack on non-vB pages would just display closed for maintenance message.. but now it just calls and displays my vB forums entire closed forum message page... screen cap below the fix you gave me was to add the code in bold below to last10.php file PHP Code:
PHP Code:
any help is appreciated since my server is being moved and i need to close my forums a day before hand but my normal non-vb sites have this hack being called |
Any way to display this stuff no in a table? Or have it better, easier to modify?
|
All times are GMT. The time now is 11:52 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:
|