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
  #62  
Old 11-04-2009, 07:38 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated version 1.2 on Nov / 04 /2009

v1.2
  1. Cache Template fix. (Much faster and huge performance boost!)
  2. Add List Order Option (Ability to display news by Newest first, Oldest first, Views or Random).

Enjoy!
Reply With Quote
  #63  
Old 11-10-2009, 12:28 PM
bartek24m bartek24m is offline
 
Join Date: Nov 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed ! - please keep it develop
Reply With Quote
  #64  
Old 11-10-2009, 11:32 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we include this mod on a custom page? I'd almost like for this to be a quick homepage for one of my sites to test it out. Is there a way to do that? If so, can you do a quick step by step on it?

Great work on this mod! :up:
Reply With Quote
  #65  
Old 11-11-2009, 04:03 AM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bartek24m View Post
installed ! - please keep it develop
surething

Quote:
Originally Posted by MagicThemeParks View Post
Can we include this mod on a custom page? I'd almost like for this to be a quick homepage for one of my sites to test it out. Is there a way to do that? If so, can you do a quick step by step on it?

Great work on this mod! :up:
As long as the custom page uses vBulletin engine then it's possible. Read [Guide] DnP AJAX Custom News on every page of forum for more info
Reply With Quote
  #66  
Old 11-12-2009, 02:56 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SilveryHat,

I've added it to my custom page and everything seems to be working.

DEMO: http://www.magicthemeparks.com/mk/forum/newspage.php

I just wanted to ask how do I edit the phrase "There are 5 News in total"?
Reply With Quote
  #67  
Old 11-12-2009, 08:04 AM
bartek24m bartek24m is offline
 
Join Date: Nov 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I just wanted to ask how do I edit the phrase "There are 5 News in total"?
You can edit it in dnp_news.php file
it's about 132 line



SilveryHat, my suggestion for new releases:

Add additional filed to certain forum ID in newthread template (just below the message box)
- DNP - title
- DNP - description

and in admincp create new option: "suggested DNP news"

when usergropus is allowed to create DNP news - the thread go into admincp "suggested DNP news" queue and it must be approved by admin/mod

It should not be difficult for you...
Please think about it !
Reply With Quote
  #68  
Old 11-12-2009, 10:21 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bartek24m, I'll adjust that tonight. :up:

And good suggestion, by the way. Makes our lives a little less complicated if others are also creating the "potential" or "suggested" news and we have to simply approve them.
Reply With Quote
  #69  
Old 11-12-2009, 04:22 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I get the "Title of DnP Custom News block" from showing up when I have this mod disabled in the mod area in admincp?

The only way to actually disable the mod is to remove $dnp_news_output from FORUMHOME Style...
Reply With Quote
  #70  
Old 11-12-2009, 07:47 PM
silveryhat's Avatar
silveryhat silveryhat is offline
 
Join Date: May 2007
Location: Gaia
Posts: 306
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bartek24m View Post
SilveryHat, my suggestion for new releases:

Add additional filed to certain forum ID in newthread template (just below the message box)
- DNP - title
- DNP - description

and in admincp create new option: "suggested DNP news"

when usergropus is allowed to create DNP news - the thread go into admincp "suggested DNP news" queue and it must be approved by admin/mod

It should not be difficult for you...
Please think about it !
Quote:
Originally Posted by MagicThemeParks View Post
And good suggestion, by the way. Makes our lives a little less complicated if others are also creating the "potential" or "suggested" news and we have to simply approve them.
I see the point. I guess it's a good one to add. I'll try to see what I can do

Quote:
Originally Posted by bada_bing View Post
How can I get the "Title of DnP Custom News block" from showing up when I have this mod disabled in the mod area in admincp?

The only way to actually disable the mod is to remove $dnp_news_output from FORUMHOME Style...
I'm not sure what you mean.. you can turn off the MOD via DnP Custom News Options in AdminCP

Reply With Quote
  #71  
Old 11-13-2009, 12:11 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by silveryhat View Post
I see the point. I guess it's a good one to add. I'll try to see what I can do



I'm not sure what you mean.. you can turn off the MOD via DnP Custom News Options in AdminCP


silveryhat,

Yes even though I have the MOD disabled in the admincp options it still shows up?
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 06:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15085 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
  • (7)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