![]() |
[AJAX] News/Announcements
With this add-on you can quickly add new or announcements on your forum's index, forum display, or thread display. Each forum and thread can have their own unique message.
In the vBulletin options you can choose which user's can edit the text by entering their user ID into the box. You can choose whether or not moderators can edit the message in the forums they moderate. You can choose if you want the news/announcements to display on forum home, forum display, or thread display. You can use bbcode and HTML but only if HTML tags have bbocde to convert to. For example if you type <b></b> it'll convert to [b][/b]. Here are some screensohts http://xenweb.net/images/ajaxnews/ajaxnews_1.png http://xenweb.net/images/ajaxnews/ajaxnews_2.png |
I hope you like this hack.
|
Thanx
|
This should work on 3.6.0 with totally customize template?
|
Quote:
|
Before anyone asks I like to explain some things.
If you want the moderator's to be able to edit the news/announcement of the forums they moderate you don't have to enter their User ID in the text box. If you want line breaks in the news/announcements you'll need to use the break tag ( <br /> ). |
installed, but nothing is happening as far as AJAX. I have AJAX on, other things work, but this one, I click and click and it stays a line of text. It's on, and I have ability to moderate it. Nothing.
|
When I click to Mark all Forums as read, I get a database error.
Everything else seems to run pretty smoothly. I would prefer though if when you click to edit it that the codes stay in BB format, because HTML doesn't show up. |
Suggestions:
Make it global for all the boxes. (I don't want to manually edit every single forum's box and put the message I want.) |
Quote:
When you edit the message doesn't show the way I want it to but when you refresh the page it should show fine. Quote:
|
Quote:
Can anybody else confirm the DB error? I'm running on 3.6.5 with some modified templates and a bunch of other hacks. |
I have fixed the database error. I will upload the upgrade after I upload the upgrade for "Usergroup Messages".
|
I have fixed the database error when marking threads as read.
|
Quote:
|
Sweet BB Code, but why do we still need to enter the <br /> tag, if BB code is enabled?
What about if they moderate a certain forum, but i don't want them to have permission with the news/announcements feature? |
[high]* projectego clicks install :)[/high]
|
Quote:
If so it isn't possible with this version. |
Hi,
Where should i find the templates that need to edit? I can't find them. |
Quote:
Here you will find "headerinclude" and "navbar". navbar can be found in "Navigation / Breadcrumb Templates" |
Quote:
Thats why i didn't find it in the search. |
Quote:
|
Hello
thanx for great hack but this not support arabic Language [ charset=windows-1256 ] soo can you make it suported ? |
Looks like a nice looking mod, will consider this in the near future. thanks.
|
Great hack. My only suggestion is to allow the option of making the announcement block global. That is, the same thing is displayed on ALL pages, rather than each one having it's own.
|
I think I have figured out how to make messages global. I am working on it right now.
|
This was a quick upgrade to allow a global message. In the future I'd like to implement inheritance. This means that you can have each forum have their own message and have the threads in the respective forum share the same message.
Changed Files -- product-ah_ajaxnews.xml Changed Templates -- navbar |
Thanks for the update. :)
|
Quote:
|
awsem i been waiting for a new mod :D
|
It's not working in hebrew lang!
|
Quote:
Awesome. Works perfectly. |
Thanks a lot, harmor ! I love your hacks.
It's very clean and i like it :) |
harmor, i've a little problem.
I indicate my ID in the options, i activate your hack, but when i try to change the news, it indicate me "Direct Access is Prohibited". Why there is this message ? I read the php file : PHP Code:
!$_SERVER['HTTP_REFERER'] -> ??? So when i delete !$_SERVER['HTTP_REFERER'], it's good, but why ? Thanks :) |
When posting news with any (") or (') I get a database error Also when adding vBcode int converts the coed th HTML this also needs to be fixed and you will have a great hack
|
Hi harmor, i have translate your hack into french. I put it here, if you want to add in your thread :)
Excellent hack ;) |
Very Nice hack.
Thanks. |
Quote:
|
Quote:
|
does this work wiht 3.6.5?
thanx |
Quote:
|
All times are GMT. The time now is 05:23 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:
|