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)

silveryhat 10-05-2009 10:00 PM

DnP AJAX Custom News Link - Offer the best news to your forum visitors
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/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.

https://vborg.vbsupport.ru/Screenshots of different configurations



https://vborg.vbsupport.ru/Demo

Right on the forum homepage of DnP Network?

https://vborg.vbsupport.ru/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 https://vborg.vbsupport.ru/
https://vborg.vbsupport.ru/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.

http://img59.imageshack.us/img59/2540/17567863.jpg

https://vborg.vbsupport.ru/Installation for vB Advanced CMPS :

http://img269.imageshack.us/img269/3...psdnpnewsv.gif
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

    http://img197.imageshack.us/img197/6...pstemplate.gif
  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 :)

https://vborg.vbsupport.ru/

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). https://vborg.vbsupport.ru/
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.

AlexBat 10-06-2009 06:05 PM

Good ;)

erel34 10-06-2009 06:53 PM

nice work

silveryhat 10-07-2009 12:20 AM

Any comment or suggestion would be welcome :)

DefenceTalk 10-07-2009 01:42 AM

Quote:

+ Links are SEO.
vBSEO compatible or does the mod have its own?

Brandon Sheley 10-07-2009 01:46 AM

very cool, will be watching this one :)

derandechser 10-07-2009 06:17 AM

Very good!!
Would it be possible to decide which Link is a "Big News" Link?
Anyway, very cool!
Greets,
Peter

Sador 10-07-2009 07:06 AM

This looks... kinda awesome. But I get the feeling it would make the top of your forum very busy, with less room to notice the forums itself. Is it possible to somehow choose how big this box is, so it takes less room?

Also, how easy or hard is it to add links and images the way you did? Is inline editing perhaps going to be added later on?

Thanks in advance, it looks like a really nice mod.

realdx 10-07-2009 08:53 AM

tagged and watching!! thanks!

cindy helmond 10-07-2009 09:58 AM

great mod !! thx :D

ProFifaLeagues 10-07-2009 11:28 AM

Nice easy install and working well!

silveryhat 10-07-2009 07:47 PM

Thanks everyone for the positive feedback.

Regards some of the questions you guys have :

Quote:

Originally Posted by DefenceTalk (Post 1895935)
vBSEO compatible or does the mod have its own?

AJAX links to switch page are SEO friendly. :)

Quote:

Originally Posted by derandechser (Post 1896011)
Very good!!
Would it be possible to decide which Link is a "Big News" Link?
Anyway, very cool!
Greets,
Peter

Big News block contains the latest links, you can only set more than 1 link for big news but not define a specific one to be in it, for the current version. :)

Quote:

Originally Posted by Sador (Post 1896020)
This looks... kinda awesome. But I get the feeling it would make the top of your forum very busy, with less room to notice the forums itself. Is it possible to somehow choose how big this box is, so it takes less room?

Also, how easy or hard is it to add links and images the way you did? Is inline editing perhaps going to be added later on?

Thanks in advance, it looks like a really nice mod.

You can customize how many links to show per page, how many big news, how many per row,etc...:rolleyes: , all can be done via AdminCP

http://img5.imageshack.us/img5/1338/60154649.jpg

concepts 10-07-2009 08:59 PM

I do not like the MOST current setup.. I do like the layout of the other latest news blocks.. I would just like those two only to be displayed without the most current block, so the text is not centered, only justified.

Cedric_FP 10-08-2009 01:46 AM

This looks great. I plan to use it immediately.

A possible addition would be to add tabbed features that can act as categories for the news.

Example:

Tab 1 (Sports) | Tab 2 (Lifestyle) | Tab 3 (Career)

And clicking each tab brings up different "featured" manually chosen threads.

EDIT: Also, where can I find the templates so that I might edit the look of the block? All I can see is dnp_news.

EDIT #2: Or do I need to edit the php file for customization?

EDIT #3: Specifically, I want to have 3 "BIG NEWS" aligned horizontally rather than vertically, and then have the small news come under the big news.

EDIT #3: Also better if we can define which big news are showed - sort of like a "Featured" section.

Also - a bug - the ajax page control doesn't seem to be loading properly. It loads the entire dnp_news.php file for me which means that the forums disappear.

silveryhat 10-08-2009 02:21 PM

Quote:

Originally Posted by concepts (Post 1896315)
I do not like the MOST current setup.. I do like the layout of the other latest news blocks.. I would just like those two only to be displayed without the most current block, so the text is not centered, only justified.

I'm not sure I got the picture of what you mean, do you have a screenshot or drawing of how it should look like in your opinion?

Quote:

Originally Posted by Cedric_FP (Post 1896400)
This looks great. I plan to use it immediately.

A possible addition would be to add tabbed features that can act as categories for the news.

Example:

Tab 1 (Sports) | Tab 2 (Lifestyle) | Tab 3 (Career)

And clicking each tab brings up different "featured" manually chosen threads.

EDIT: Also, where can I find the templates so that I might edit the look of the block? All I can see is dnp_news.

EDIT #2: Or do I need to edit the php file for customization?

EDIT #3: Specifically, I want to have 3 "BIG NEWS" aligned horizontally rather than vertically, and then have the small news come under the big news.

EDIT #3: Also better if we can define which big news are showed - sort of like a "Featured" section.


Also - a bug - the ajax page control doesn't seem to be loading properly. It loads the entire dnp_news.php file for me which means that the forums disappear.

Yes I have thought of category when I first code it, but it comes to be too unecessary so I dropped it. The reason is, if there is category for news link, members will be confused where they can actually find the topic and also, it brings more work to the admin if he has to create all the categories in this MOD corresponding to those current ones on the forum.
dnp_news is the cached main template, child templates are built-in until later, when I can add more style and layout for the MOD like your good idea in #3.

# 3 If we are to decide which link to be in the big news, we have to define different big news for every page the news block spans, and I don't think everyone would like to do that.

About the bug of ajax loading, verify all files have been uploaded and your server is ajax compatible because the ajax engine is pulled from DnP Instant! Musicbox and it's known bug-free.

animcentral 10-08-2009 02:41 PM

Quote:

Originally Posted by silveryhat (Post 1895909)
Any comment or suggestion would be welcome :)

here: https://vborg.vbsupport.ru/showthread.php?t=223427 :D

silveryhat 10-08-2009 04:28 PM

Quote:

Originally Posted by animcentral (Post 1896638)

I totally see your point there https://vborg.vbsupport.ru/external/2009/10/8.gif

Cedric_FP 10-08-2009 04:54 PM

Quote:

Originally Posted by silveryhat (Post 1896613)
I'm not sure I got the picture of what you mean, do you have a screenshot or drawing of how it should look like in your opinion?



Yes I have thought of category when I first code it, but it comes to be too unecessary so I dropped it. The reason is, if there is category for news link, members will be confused where they can actually find the topic and also, it brings more work to the admin if he has to create all the categories in this MOD corresponding to those current ones on the forum.
dnp_news is the cached main template, child templates are built-in until later, when I can add more style and layout for the MOD like your good idea in #3.

Yes I understand that it would create a lot more work for the admin of the forum, not to mention yourself.

Quote:

# 3 If we are to decide which link to be in the big news, we have to define different big news for every page the news block spans, and I don't think everyone would like to do that.
Couldn't there only be big news on page 1, and the other pages just have small news?

Apologies if that is a stupid question - I actually know very little about coding AJAX and how the plugin works in general. Though it is running very well over at my site and I have managed to configure it to nearly the way I want it by editing the php file.

Quote:

About the bug of ajax loading, verify all files have been uploaded and your server is ajax compatible because the ajax engine is pulled from DnP Instant! Musicbox and it's known bug-free.
I see. I'll verify and try again - server definitely supports AJAX so it must be that I'm missing a file. Will let you know :) Thanks for the help.

bada_bing 10-08-2009 05:14 PM

How can I get this block to show up on vbportal rather then vbulliten home

emath 10-08-2009 05:24 PM

suggestion and a request :

1. it would be very helpful if instead of inputing name thread and url and everything, just to define one or two forums which the "DnP AJAX Custom News Link" system will take the first new threads from there !

2. i have a request, how do i make it capable with VBADVANCED ? i tried to put the "$dnp_news_output" code in the "adv_portal" template, though, nothing happends, why is that ?

regards,
imiviortal.

silveryhat 10-11-2009 01:26 AM

Quote:

Originally Posted by Cedric_FP (Post 1896714)
Yes I understand that it would create a lot more work for the admin of the forum, not to mention yourself.

Couldn't there only be big news on page 1, and the other pages just have small news?

Apologies if that is a stupid question - I actually know very little about coding AJAX and how the plugin works in general. Though it is running very well over at my site and I have managed to configure it to nearly the way I want it by editing the php file.

I see. I'll verify and try again - server definitely supports AJAX so it must be that I'm missing a file. Will let you know :) Thanks for the help.

Let me know if it works for you after the verification.

Quote:

Originally Posted by bada_bing (Post 1896729)
How can I get this block to show up on vbportal rather then vbulliten home

I have not any experience on vbPortal so I cannot tell you what to do , maybe you should contact the coder of vBportal.

Quote:

Originally Posted by imiviortal (Post 1896732)
suggestion and a request :

1. it would be very helpful if instead of inputing name thread and url and everything, just to define one or two forums which the "DnP AJAX Custom News Link" system will take the first new threads from there !

2. i have a request, how do i make it capable with VBADVANCED ? i tried to put the "$dnp_news_output" code in the "adv_portal" template, though, nothing happends, why is that ?

regards,
imiviortal.

1. It is definitely something I try to avoid. Because it loses the flexibility of having different kind of news from multiple categories at first, second if it automatically pulls new threads then a TopxStats MOD could do the same..
2. I believe you must include the PHP file in a PHP Module, I have not any experience upon vBadvanced installation though.

bada_bing 10-11-2009 01:57 AM

Quote:

Originally Posted by bada_bing View Post

How can I get this block to show up on vbportal rather then vbulliten home

I have not any experience on vbPortal so I cannot tell you what to do , maybe you should contact the coder of vBportal.

Silveryhat,

You are the coder of this mod.... this mod would be a nice addition to forums that have vbportal and vbadvance

silveryhat 10-11-2009 03:06 AM

Quote:

Originally Posted by bada_bing (Post 1897862)
Silveryhat,

You are the coder of this mod.... this mod would be a nice addition to forums that have vbportal and vbadvance

Yes I am the coder of the MOD but not for the others. I can only provide support within my knowledge since I never touch vbPortal. I know it might come to be a great idea to add the support for vBadvanced and vBPortal but I mainly design it for the vBulletin forum only at this time.

sefakdas 10-11-2009 09:06 AM

thanks :) very good...

Turkish:
Teşekk?rler. G?zel ?alışma sitemde kullanıyorum

animcentral 10-11-2009 12:52 PM

Quote:

Originally Posted by silveryhat (Post 1896695)

i gona w8 for that:D
if its possible to merge these two idea it's gonna be a great mod.
Features:
  • marquee/Ajax
  • with(out) image
  • Moderator mark thread as news
  • admin custom news/announcement
  • get rss feeds URL as news
  • get image/video from thread content

choccyclaire 10-11-2009 04:23 PM

This is great. Can you make the table collapseable when you do the next update? :)

EDIT: Will this only work in forumhome because I would like to display it in forumdisplay also, but cannot at present.

FitgirlWorld 10-11-2009 06:53 PM

thanks for AWESOME mod!

any way to resize the images it displays?

thanks

marked as installed

silveryhat 10-12-2009 12:17 AM

Quote:

Originally Posted by animcentral (Post 1898025)
i gona w8 for that:D
if its possible to merge these two idea it's gonna be a great mod.
Features:
  • marquee/Ajax
  • with(out) image
  • Moderator mark thread as news
  • admin custom news/announcement
  • get rss feeds URL as news
  • get image/video from thread content

Some ideas sound pretty great and I'll include them in future versions. However, "get image/video from thread content" is definitely skipped because it will generate alot of problem and consume too much CPU resources since it has to goes through many different threads content. Look, the News Description supports BBcode, so if you have a flash bbcode tag, you can use it to embed some video clip already ;)

Quote:

Originally Posted by choccyclaire (Post 1898141)
This is great. Can you make the table collapseable when you do the next update? :)

EDIT: Will this only work in forumhome because I would like to display it in forumdisplay also, but cannot at present.

Yup I'll note that and I'll make collapsible block next version. However, the MOD is mainly for forumhom index at the current time, for any other additional locations I'll give detail instruction later to fit everyone's need.

Quote:

Originally Posted by FitgirlWorld (Post 1898227)
thanks for AWESOME mod!


any way to resize the images it displays?

thanks

marked as installed

;) you can change it in the AdminCP , look for Normal News Image Width and Latest News Image Width

TimberFloorAu 10-12-2009 01:09 AM

Off Topic:

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

The rounded box when ppl quote members.

choccyclaire 10-12-2009 02:00 AM

Could you maybe have a max height option too?

Nominated btw. :)

BucWiLd 10-12-2009 02:45 AM

watching , anyone else want to give a link to there forum they have it installed on.

silveryhat 10-12-2009 03:09 AM

Quote:

Originally Posted by choccyclaire (Post 1898381)
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 (Post 1898370)
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 (Post 1898390)
reserved

ok :) ... what is it for anyway :erm:

choccyclaire 10-12-2009 04:06 AM

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.

silveryhat 10-12-2009 04:25 AM

Quote:

Originally Posted by choccyclaire (Post 1898413)
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 ?

sargatanas 10-12-2009 05:53 AM

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

dacho 10-12-2009 07:27 AM

Quote:

Originally Posted by choccyclaire (Post 1898413)
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 (Post 1898416)
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 ?

Cedric_FP 10-12-2009 03:06 PM

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.

choccyclaire 10-12-2009 03:06 PM

Yep it's in forum root over here too. :)

silveryhat 10-12-2009 08:42 PM

Quote:

Originally Posted by sargatanas (Post 1898437)
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 (Post 1898456)
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 (Post 1898574)
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 (Post 1898575)
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.

Cedric_FP 10-12-2009 09:05 PM

Thanks for the quick work!! :)

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


All times are GMT. The time now is 05:28 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.01897 seconds
  • Memory Usage 1,899KB
  • 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
  • (1)bbcode_php_printable
  • (30)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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