![]() |
Hmm, I could make that feature an option in the Admin CP so you can choose. =/ You don't really need that, anyway, if you have the time cutoff or number cutoff...
EDIT: Version 2.21, with that option and some alternative templates you can use if you feel like it. |
:) i dont wont to make you sad byt i cannot fint the option in ACP :)
Also the NEW custom_unreadnews template edits doesnt work for me i get pag error and dont collapsed... :( Bad day... EDIT: More... Link goes to url http://www.sitename.com/forumdisplay.php?f= I thing something wronk with the code... |
Both of those should be fixed now. I really don't get why the option didn't show up the first time (I didn't do anything with it, and it did get imported into the XML file now), but the alternative templates DO work, and the collapsing too (I tested it). Did you edit both the templates?
|
Yeap i edit both ( edit one)
I try many times... Let me try with new version :) IT WORKS PERFECT :) |
Dude I really like your hack, just one thing, please collect several updates and deploy them as one, don't do 5 Updates in 2h, thanks :)
|
Well, when I'm making important bugfixes, I'd rather not leave you for two hours with a non-functional hack. =P
But I'll be slowing down anyway. Now it's working and has all the features I was originally planning, so all I'd be doing would be implementing some user-requested features. |
At first: Great hack - I ever was in search for that.
But I have also one feature request. I would like that the news forum changes according to the forum languages. Imagine you have a multilanguage board and you have therefore also not only one news forum. So the best would be that you can specify (if you want) for every language a different news forum. |
Okay, that took a lot of pondering over how I could do that in a practical way, and I ended up just allowing a PHP conditional to be set for every news forum and then allow multiple news forums. I used the language thing as an example, so you should be good to go. :) Enjoy version 3.0.
|
Hi
I have only just found this and i do like it very much :) I have 1 wee question though, The box that the news appears in has no Title cell of its own like the rest of the boxes on my forum... or see image below An example would be the box below yours is the Latest Forum Threads and you will see that the title has its own cell, please can you do this for me, or let me know what and where to do the edit please? Much appreciated |
That is exactly what the alternate templates provided in the first post do. ;)
|
Yeah i did see that and tried it, it gave me the same look lol
|
Did you replace both of the templates in all your styles?
|
Yeah i did, well only in 1 style cause thats the only style i am really using atm, the others are just testers!!
|
Hmm, that's odd. Are you absolutely sure you're using exactly that style and not just a duplicate of it or something? And that you definitely saved both templates? Try replacing it in all your styles...
|
Yeah definiatley m8....I am only using the MNS 7 style thats the only 1 ticked in the style manager and thats the only 1 i have edited
|
Okay, go to your template manager and look at the custom_unreadnews template. Compare it to the alternate template in the first post. Are they the exact same?
|
Yes m8, there exactly the same...Just checked it now
|
Its working now....I just rebuilt all styles and its now showing as it should be...thanks for taking the time to help me on this! :)
|
Okay, that's good. Let me know if you have any other problems.
|
Thats a great hack and works fine once I followed your php4 instructions.
What I am missing is that it checks if the user has reading rights of those forums and if not, not showing the news headline. I think it can be done by manually add all usergroups who can read that forum with conditions but it could be more handy. Since I am quite bad in coding, I also ask if someone can provide the condition that does this. Thanks. |
If you wish to only show it to certain usergroups, the condition should be
Code:
is_member_of($vbulletin->userinfo, 5,6,7) But yes, that would be a fairly necessary functionality which I should get around to adding soon. |
The unread news link does not work from the vBadvanced default page or photopost which are both integrated into VB - all works fine from VB bulletin - Does anyone have this working with VBadvanced and Photopost and if so how can I make mine work? I am assuming a relative path will need to be added to the code - but I don't know where?
|
Quote:
I worked it out - I located the templates and updated with the full URL etc. :alien: |
this works fantastic on 3.8
|
Quote:
|
All times are GMT. The time now is 12:04 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:
|