![]() |
Weird, seems to work for my forum - what's your URL?
|
Yeah it's strange that the icon is not being shown properly in your threadlisting Erwin, did you use an ID number that is shown via PHPMyAdmin - it may not be the same as the icon name - e.g. my iconid 37 corresponds to icon14.gif.
No icon is being set, I guess to solve the broken image at least you can set the iconid to 0 (none will appear). This is what is being shown in your threadlisting PHP Code:
Another thing to note is that you may notice a break occuring somewhere in the middle of the Discuss URL or the Discuss text - you will either have to set your Word Wrap to a large value or else to 0 to stop this. |
Quote:
Changing iconid to "0" fixed it. The default icon shows up now which is what I want anyway! Quote:
I changed Word Wrap to "0" and it fixed that problem too. Thanks! I am now trying to get my crontab to work - it is not working for some reason. This is my cron command line: Code:
0 0 * * * wget -O /dev/null "http://www.mysite.com/forum/news2vb.php?jaction=postnews&jpassword=mypassword&jcategory=Whatever%2520news&jforum=1&jtitle=My+News" Any ideas? |
I can't see anything wrong with that crontab, maybe try changing it to 59 23 to see what happens. I noticed your posts are occuring at 8.25 which doesn't match up to midnight by any stretch of the imagination...
|
No, I am doing those news inserts manually... the crontab ain't working! :(
I'll try your suggestion... Is there another way I can set up crontab to do this? |
Maybe you need to specify the full path to wget... Try a whereis wget. Alternatively you can use lynx if it is installed, in your crontab you'd probably do something like (specifying the full path to lynx as well):
0 7 * * * TERM=vt100 /path/to/lynx -source "http://..." >> /dev/null I've added one or two things to the Post News output, modified file at the top. |
Aha!!!
I have lynx, and I use that to run my USENET crontab, so there you go, this is going to work - I did try it with yours, but I did not put the TERM variable in. Will let you know if it does work. Downloaded and using the new news2vb.php file - the output is heaps better! Thanks! Just one small bug: You have $yourvbdir at the top but $yourvburl in the code. Change the $vbdir to $vburl or vice versa for the "Discuss" links to work. :) Thanks heaps! |
Actually I think it should now say yourvburl in both, I'm guessing it was yourvbdir in version 1.0. Either way, glad it's working - time to move to Full Hacks I think.
|
I installed this and plan on making a few changes to make it more robust and more suited to my needs. Thanks.
|
Thanks Wayne, if you think any of the changes should be implemented for all installers, please let me know.
|
All times are GMT. The time now is 02:37 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:
|