vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - [AJAX] News/Announcements (https://vborg.vbsupport.ru/showthread.php?t=144414)

Snake 04-11-2007 11:57 AM

Wow I have been waiting for this. I used to have this feature while I was running on IPB back in the day.

Thanks!

v2neo 04-11-2007 06:20 PM

Quote:

Originally Posted by harmor19 (Post 1224593)
How "Enter comma-seperated User ID's that can add/edit news" works is you put the ID of the user into the box that you want to have permission to edit the news/announcement on every page.

So on your site you're user ID should be "1" and let's say you have another admin and their user ID is "5" and you want both you and the other admin to edit the announcements. In the text box you would type 1,5.

How "Moderators can add/edit news in the forum(s) they moderate." works is that you're moderators can edit the news ONLY in the forums they moderate.
If you have enabled "Global Message" it will over-ride the moderators' permission to edit the announcement.
When "Global Messages" are enabled the only people who can change the announement are the user's of the user IDs that you typed in the text box.

I will try to improve upon this hack and add more features so it isn't as limited.

ok my mistake was using user name instead of user number, but i still cant click on the field to input any message.

Just to clarify i should be able to just click on "Click on this sentence to change this message. " in the forum and type my message. and not in the admin c/p panel correct?

v2

PS i can give you access to my admin C/P if you would like to check it out

DJ XtAzY 04-12-2007 09:03 AM

nice hack.. i'll wait until the next update =]

Veer 04-15-2007 08:12 PM

Hi, I Have updated [vb]ajaxnews1.1.0.zip but its still 1.0.0

harmor19 04-16-2007 01:32 AM

Quote:

Originally Posted by Pehchaan (Post 1228560)
Hi, I Have updated [vb]ajaxnews1.1.0.zip but its still 1.0.0

I just forgot to change the version number. This is nothing to worry about.

farooqaaa 04-16-2007 11:42 AM

Thanks man! this is nice!

Veer 04-21-2007 08:50 PM

Quote:

Originally Posted by harmor19 (Post 1228690)
I just forgot to change the version number. This is nothing to worry about.

Its all right, harmor19 :)

Please add the ability to use full html codes, so we can add announcements with images, colors, fonts styles etc..

Thanks.

kube 04-24-2007 08:13 AM

My problem is:

I write for example

PHP Code:

Hello

nice tool 

and if ich will add the next time someting, it shows afterwards


PHP Code:

Hello
<br><br>
nice tool
<bradded text 

if i add something more, he doubles all tags !

PHP Code:

Hello
<br><br><br><br>
nice tool
<br><bradded text 

and i (i`m allowed to edit) see all tags like they are "<br>" and not the "real" output when i leave the field...


sorry for my english, but i hope you understand what i mean....

buontaiviem 05-04-2007 10:23 AM

Did not support HTML code. I tried this code but did not show images and link.

Quote:

<a href="http://.....com" target="_blank"><img src="http://.....com/logo.gif" width=468 height=60 border=0></a>

ChopBam 05-25-2007 06:26 PM

I'm getting another database error from this modification whenever anybody goes to an invalid thread.

For example, t=10000 and that isn't a thread.
There'll be a DB error and I'll get an email about it. Quite annoying.
Confirm?


All times are GMT. The time now is 01:47 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
  • Page Generation 0.02002 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete