vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - DnP AJAX Custom News Link - Offer the best news to your forum visitors (https://vborg.vbsupport.ru/showthread.php?t=224698)

Zi55 12-26-2009 11:52 AM

Dear Silverhat ,
After a lot of tests , find a fix for modify header problem just but commas near
// define('CVS_REVISION', '$RCSfile: dnpmusicbox_setting.php');
// define('NO_REGISTER_GLOBALS', 1);
in dnp_custom_news_setting.php
and the modify header problem will be fixed , but there are still other problem that it use 4 queries in every page , even it's not called through $dnp_news_output , i do a test in my localhost and in a live server .
PHP 5.2.11
With xCache and without
Apache 2.2.22.
I hope you please to fix this bugs , as this hack very very nice , and we need it .
Thanks ,
Zi55

kmohamed 12-26-2009 02:31 PM

are u planing to add rss feature to this great mod

Zi55 12-28-2009 02:33 AM

Hello Silveryhat ,
I know that you are busy :) , but i really really hope you to fix this bugs .
Thanks ,
Zi55

silveryhat 12-28-2009 04:25 AM

Quote:

Originally Posted by kmohamed (Post 1938642)
are u planing to add rss feature to this great mod

I doubt and it depends on the whether it is a must or not. Because I want to keep the mod small and fast at the moment. However, I may give additional plugin that supports rss for DnP News in the future.

Quote:

Originally Posted by Zi55 (Post 1938548)
and the modify header problem will be fixed , but there are still other problem that it use 4 queries in every page , even it's not called through $dnp_news_output , i do a test in my localhost and in a live server .
PHP 5.2.11
With xCache and without
Apache 2.2.22.

Did you by any chance follow this guide DnP AJAX Custom News on every page of forum before ?

You may reverse the steps by open up Plugin Manager > DnP Custom News, then change Hook Location to forumhome_complete

Taurus1 12-28-2009 04:36 AM

Man, I am so happy to see you online! I really need to get this working on my forum homepage and my portal. Do you have a solution for me please!!!!!?????

Thanks!!

silveryhat 12-28-2009 05:58 PM

Quote:

Originally Posted by Taurus1 (Post 1940032)
Man, I am so happy to see you online! I really need to get this working on my forum homepage and my portal. Do you have a solution for me please!!!!!?????

Thanks!!

If I'm not here you can always find for help on the official homepage of DnP News.

Now, let's try this :
- Download v1.3 again. Reupload everything to forum_root , and upload one more of dnp_news.php to modules folder.
- Go to Plugin Manager > DnP Custom News plugin, change Hook Location to forumhome_complete instead of global_start.
- Now follow the instruction for both with/without vBadvanced CMPS in the first post.

Taurus1 12-28-2009 10:11 PM

Quote:

Originally Posted by silveryhat (Post 1940677)
If I'm not here you can always find for help on the official homepage of DnP News.

Now, let's try this :
- Download v1.3 again. Reupload everything to forum_root , and upload one more of dnp_news.php to modules folder.
- Go to Plugin Manager > DnP Custom News plugin, change Hook Location to forumhome_complete instead of global_start.
- Now follow the instruction for both with/without vBadvanced CMPS in the first post.

Fantastic!!! Works man! :D:D

Thank you so much!!

Taurus1 12-30-2009 07:14 AM

Would it be possible for you to make this so that the DNP Control Panel is also in the Moderators Control Panel? Then my Mods can also add news.

That would really help!!

Thanks!!

Zi55 12-31-2009 09:36 AM

Quote:

Originally Posted by silveryhat (Post 1940025)
I doubt and it depends on the whether it is a must or not. Because I want to keep the mod small and fast at the moment. However, I may give additional plugin that supports rss for DnP News in the future.



Did you by any chance follow this guide DnP AJAX Custom News on every page of forum before ?

You may reverse the steps by open up Plugin Manager > DnP Custom News, then change Hook Location to forumhome_complete

I didn't give it a try yet , but the hack still use 4 queries in each page , and not as you say to us 1 query only , We hope to see your develop for this hack

silveryhat 12-31-2009 10:19 PM

Quote:

Originally Posted by Taurus1 (Post 1942255)
Would it be possible for you to make this so that the DNP Control Panel is also in the Moderators Control Panel? Then my Mods can also add news.

That would really help!!

Thanks!!

I'll take a try into that soon ;)

Quote:

Originally Posted by Zi55 (Post 1943253)
I didn't give it a try yet , but the hack still use 4 queries in each page , and not as you say to us 1 query only , We hope to see your develop for this hack

I have already explained to you about the 4 queries you see via the PM

Quote:

The MOD is using a different way of approaching the data it stores and the AJAX has its method to retrieve data, asynchronously. It only runs one query, the other three come from vBulletin's global.php and class_bbcode.php which are duplicated and does not actually run themselves again.
Now, go ahead and try the steps
- Go to Plugin Manager > DnP Custom News plugin, change Hook Location to forumhome_complete instead of global_start.


All times are GMT. The time now is 12:42 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.01361 seconds
  • Memory Usage 1,749KB
  • 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
  • (8)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