Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
DnP AJAX Custom News Link - Offer the best news to your forum visitors Details »»
DnP AJAX Custom News Link - Offer the best news to your forum visitors
Version: 1.3, by silveryhat silveryhat is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 10-05-2009 Last Update: 12-24-2009 Installs: 90
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

What was the last time you were so excited to write an awesome topic for your forum then hopelessly watched it faded away and nobody cares? How about having some great threads, unique information that's only available on your forum, and you want all visitors instantly pay attention to them ? Think you would make announcements everywhere about those topics, then expect someone to click on the links? Maybe that isn't so good and professional at all. Even worse, you have to bump your own thread to get others attention. DnP Custom News may have a solution for you.

What does this little MOD do ?


As the matter of fact, topics in forum are displayed by some formatted orders. Either it is arranged by newest first, oldest first, or last replies, etc...at some point these topics will not be visible in the view of members anymore. Especially, for new visitors to your forum since they have no clue whether yours is a good forum or just a random half-dead community with nothing interesting. How could you show them how great your forum is, what information it has and what kind of fun can be found there? What you need is a manual list that looks automatic, absolutely informative and interactive, totally content-rich to the guests and even search engines. DnP Custom News Link allows you to place your best topics and urls into an article block that appears on your forum home index and makes it looks like a section of online newspaper homepage. This way, it is almost guaranteed you will freshen up your forum look and feel, attract more members to articles or threads that give best of your forum! Even better, DnP Custom News Link supports AJAX for instant page change without refreshing the whole forum index page.

Screenshots of different configurations




Demo

Right on the forum homepage of DnP Network?

Feature Summary
+ Multipaging support.
+ Lightweight AJAX / SEO Friendly pages and links.
+ Three types of news : Image, Video, Article.
+ Option to track views.
+ Consume single query for fastest load.
+ Topic Thumbnail.
+ Topic Description. BBcode supported.
+ All settings and News manager under AdminCP.
+ Links are SEO.
+ Different style is not yet implemented in this version.
+ Able to act as a vB Advanced CMPS Module
Installation for normal forum without vB Advanced CMPS :
  1. Upload all files and folders from the package to your forum_root folder, except product-dnp-custom-news-install.xml.
  2. Use Product Manager to install product-dnp-custom-news-install.xml
  3. Open your FORUMHOME template (or any templates that are used together for forum home index) , then place
PHP Code:
$dnp_news_output 
to anywhere you would want DnP Custom News block to appear.



Installation for vB Advanced CMPS :


Example of how DnP News block blends in along with other columns on a vBA CMPS page
  1. Upload all files and folders from the package to your forum_root , then upload dnp_news.php one more time into forum_root/modules folder, except product-dnp-custom-news-install.xml.
  2. Use Product Manager to install product-dnp-custom-news-install.xml
  3. Go to Style Manager ? Add New Template of your currently in-use style. Input

    Title : dnp_vba_news_output
    Template content : $dnp_news_output

  4. Go to vBa CMPS ? Add Module ? PHP File Module. Input the following information :

    Module Title
    : DnP vBa CMPS Custom News Link
    Active : Yes
    File to Include : dnp_news.php
    Module Parent : None
    Templates Used : dnp_vba_news_output
    Use Module Wrapper Template : No
    Leave everything else by default.
  5. Save and load module to your CMPS page. Go to Plugin Manager and disable DnP Custom News : global_start
Management :
Now you can go to AdminCP to post some news link or configure the Dnp Custom News block



Enjoy and have fun, if you like this little MOD give it a mark and rating.
Feedbacks are very welcome in order to improve the MOD functions and features.

[Original Source : http://www.silveryhat.com/delynie/f139/dnp-ajax-custom-news-link-modification-7086.html]

Update :
Upload all files and folders in the package to your forum_root folder (or forum_root/modules if used vBa CMPS). Use Product Manager to install product-dnp-custom-news-install.xml to upgrade your current version.

History Log :
v1.3
  1. Fix a minor bug
  2. Add support for vB Advanced CMPS
v1.2
  1. Cache Template fix. Performance optimized
  2. Add List Order (Newest first, Oldest first, Views, Random).
v1.1
  1. Improve AJAX Compability.
  2. Add Collapsible feature.
  3. New option to hide description and thumbnail for small news.
v1.0
  1. Initial Release.

Download Now

File Type: zip DnP Custom News Link 1.0.zip (11.9 KB, 130 views)
File Type: zip DnP Custom News Link 1.1.zip (12.3 KB, 118 views)
File Type: zip DnP Custom News Link 1.2.zip (12.5 KB, 138 views)
File Type: zip DnP Custom News Link 1.3.zip (12.6 KB, 351 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-12-2009, 02:45 AM
BucWiLd's Avatar
BucWiLd BucWiLd is offline
 
Join Date: Jun 2008
Location: pa, usa
Posts: 265
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

watching , anyone else want to give a link to there forum they have it installed on.
Reply With Quote
  #33  
Old 10-12-2009, 03:09 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by choccyclaire View Post
Could you maybe have a max height option too?

Nominated btw.
the height totally depends on the number of rows, which that again depends on the amount of news link per page you have set up. If you mean to have it cover by a div tag that has scrollbar, you could open up the dnp_news template to do so.

Quote:
Originally Posted by TimberFloorAu View Post
Off Topic:

Can you share with us your custom quote div, on your forum. Looks great.

The rounded box when ppl quote members.
Thanks, I'll ask DnP and have the template posted soon on DnP Network if he accepts..

Quote:
Originally Posted by BucWiLd View Post
reserved
ok ... what is it for anyway :erm:
Reply With Quote
  #34  
Old 10-12-2009, 04:06 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I found one small problem. When implementing the mutilple pages, if I click on another page, it doesn't keep me on forumhome, it takes me to the dnp php location but on your demo, this does not happen.
Reply With Quote
  #35  
Old 10-12-2009, 04:25 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by choccyclaire View Post
Ok I found one small problem. When implementing the mutilple pages, if I click on another page, it doesn't keep me on forumhome, it takes me to the dnp php location but on your demo, this does not happen.
Have you uploaded dnp_news folder to forum root ?
Reply With Quote
  #36  
Old 10-12-2009, 05:53 AM
sargatanas sargatanas is offline
 
Join Date: Mar 2009
Location: Land of the Dead
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/adminfunctions.php:279) in [path]/includes/functions.php on line 3103
Reply With Quote
  #37  
Old 10-12-2009, 07:27 AM
dacho's Avatar
dacho dacho is offline
 
Join Date: Dec 2004
Location: Tell-Aviv
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by choccyclaire View Post
Ok I found one small problem. When implementing the mutilple pages, if I click on another page, it doesn't keep me on forumhome, it takes me to the dnp php location but on your demo, this does not happen.
Quote:
Originally Posted by silveryhat View Post
Have you uploaded dnp_news folder to forum root ?
I have the same problem... and yes i uploaded the "dnp_news" folder to the forum root

If i want to put it before the header all over the forum ?
Reply With Quote
  #38  
Old 10-12-2009, 03:06 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep it's in forum root over here too.
Reply With Quote
  #39  
Old 10-12-2009, 03:06 PM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same problem at my site as well. It takes me to dnp_news.php rather than the ajax loading the information on forum home.

Have reuploaded all files and still get the same error.
Reply With Quote
  #40  
Old 10-12-2009, 08:42 PM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sargatanas View Post
Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/adminfunctions.php:279) in [path]/includes/functions.php on line 3103
I don't get it, where it happens to you ?

Quote:
Originally Posted by dacho View Post
I have the same problem... and yes i uploaded the "dnp_news" folder to the forum root

If i want to put it before the header all over the forum ?
Quote:
Originally Posted by Cedric_FP View Post
I am having the same problem at my site as well. It takes me to dnp_news.php rather than the ajax loading the information on forum home.

Have reuploaded all files and still get the same error.
Quote:
Originally Posted by choccyclaire View Post
Yep it's in forum root over here too.
I made an update to improve AJAX compability. It's v1.1 now and I believe the problem you guys mention is no longer there.
Reply With Quote
  #41  
Old 10-12-2009, 09:05 PM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick work!!

I'll check it out now and let you know!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:40 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.11342 seconds
  • Memory Usage 2,362KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete