![]() |
The Realist, I don't know what to tell you...there's no logical reason it should work one minute, but not the next, unless it was some kind of problem that everyone was having. I don't have it, I know another website that uses this and they don't have it... If you'd like to discuss it further, please contact me via PM or email. I might like to look at your database or try posting a news item myself.
*** This hack has been updated to have the multi-page feature. This is just like a forumdisplay or showthread, so now instead of being limited to showing the most recent 10 (or whatever number you specified) news items, users can have access to older items by just going to the next page. I will probably next try to see if I can come up with a date limiting option instead of just a hard number, so you can set it so all news items from the past day or two days or whatever show up, regardless of how many items that is. If you already have installed the previous version, all you need to do is re-upload homeindex.php and update the main_newindex template, either with the one from the text file if you haven't modified it, or by adding $pagenav to an appropriate location (this is the variable that displays the page links). |
It'd be very helpful if you posted all updates in the main post, as well as a link to the attachment. I was re-routed 4 different times when trying to find the download... :)
|
When will you get the POLL function operating?
|
Well, I just don't see that it's possible to post a poll and news item at the same time...each requires you to go to separate redirects for a setup screen. It's either one or the other. If you really want a news item from a poll thread, you should post the thread as a poll, then copy the URL and use it to make a new news item via the link on the news page.
I suppose what I need to do is put in a routine either like the one you made, which assumes that if the poll box is checked, to make it a poll and not a news item, or else the opposite version that assumes if the make news box is checked, to do that instead of making it a poll. Comments? |
What if it redirected to a template that contained the setups for both news and polls?
|
I'm sure it's possible, it's just sounds more complicated than I want to think about right now. :stupid:
|
Don't let that stop you :D
Thanks for the hack, BTW. |
[QUOTE]Originally posted by bigmattyh
Around line 20-ish, you'll see a line like this: PHP Code:
PHP Code:
|
i made this little script to automatically install(remove) the set of templates with one click of a button.
i test it and it works great. :D let me know what you think |
here it is:
|
All times are GMT. The time now is 06:29 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:
|