vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Featured Threads (https://vborg.vbsupport.ru/showthread.php?t=320387)

InSite 11-07-2015 03:55 PM

Thanks for the updates! Do I need to do anything to upgrade other than re-upload the files? :)

MarkFL 11-07-2015 04:01 PM

Quote:

Originally Posted by InSite (Post 2558383)
Thanks for the updates! Do I need to do anything to upgrade other than re-upload the files? :)

Re-upload the .PHP files and then import the .XML file and set "Allow Overwrite" to "Yes." Then tweak the new settings like you want. :)

InSite 11-07-2015 04:22 PM

Updated, went perfectly. Some nice updates, thanks! I'm looking forward to seeing where this mod goes, as it could be a major feature for my website. Once an article is gone from my website homepage, it's hard to easily keep a top list, so this is very nice.

I wish the vBulletin community was as active as it used to be, I hope you know that while the audience may be smaller, your effort are still very much appreciated :)

MarkFL 11-07-2015 06:17 PM

Quote:

Originally Posted by InSite (Post 2558390)
...I'm looking forward to seeing where this mod goes, as it could be a major feature for my website...

A couple of ideas I am getting set to work on is the addition of a cpnav file, and breaking the unwieldy settings page into six pages, each accessible as a navoption. Also, I am thinking about the creation of a separate log table for this product, rather than using the moderator log. :)

MarkFL 11-08-2015 04:29 AM

Update: Version 1.9:
  • Fixed bug where if no thread prefixes are selected for exclusion from user-nominations, the nomination buttons will still show up.
  • Settings sections separated into idividual pages, and now accessible from the AdminCP sidebar.

InSite 11-08-2015 01:09 PM

Hi Mark, thanks for the updates again!

I've been thinking about what I'd like to do with the static "Featured Threads" page, and I think I'd like to work towards something like the example below. I'm wondering if we are on the same page, or if I should work on another solution (knowing me, hardcoding a page!).

I'd like the Featured Threads page to be a standalone page for my website. At the moment I use vBAdvanced (sadly no longer supported) for my home page and other web pages. So my home page articles are really just truncated forum posts with links to the main thread. I'd also really like the page to share the vBA page elements (side blocks).

My issue is that when I post a lot of new updates for my homepage to keep the content fresh, there is no way to highlight older articles that are worth reading historically, and not just the current news. This feature would solve that, but it must be a standalone page like my homepage.

I looked for some simple website examples, and I think the following would be a nice easy template that would fit most purposes:

http://myanimelist.net/featured

The part of this page I am looking at is just the main section, not the side menus (which would be added by vBA). It starts with a 2 column view with larger graphics, title, short description, and author. It would be nice to have the date posted next to the author too. Then after the top x threads, they move to a single column list of articles with small thumbnails etc.

That are your thoughts? Is this a direction you are interested in too, or should I look for another solution? Whatever your thoughts, thanks again for supporting this community - we need more people like you :)

MarkFL 11-08-2015 01:25 PM

Quote:

Originally Posted by InSite (Post 2558438)
Hi Mark, thanks for the updates again!

I've been thinking about what I'd like to do with the static "Featured Threads" page, and I think I'd like to work towards something like the example below. I'm wondering if we are on the same page, or if I should work on another solution (knowing me, hardcoding a page!).

I'd like the Featured Threads page to be a standalone page for my website. At the moment I use vBAdvanced (sadly no longer supported) for my home page and other web pages. So my home page articles are really just truncated forum posts with links to the main thread. I'd also really like the page to share the vBA page elements (side blocks).

My issue is that when I post a lot of new updates for my homepage to keep the content fresh, there is no way to highlight older articles that are worth reading historically, and not just the current news. This feature would solve that, but it must be a standalone page like my homepage.

I looked for some simple website examples, and I think the following would be a nice easy template that would fit most purposes:

http://myanimelist.net/featured

The part of this page I am looking at is just the main section, not the side menus (which would be added by vBA). It starts with a 2 column view with larger graphics, title, short description, and author. It would be nice to have the date posted next to the author too. Then after the top x threads, they move to a single column list of articles with small thumbnails etc.

That are your thoughts? Is this a direction you are interested in too, or should I look for another solution? Whatever your thoughts, thanks again for supporting this community - we need more people like you :)

Thank you for your support and kind words. :)

I do agree the static page is mundane and leaves a lot to be desired. I like the direction you are suggesting for this, and would be a major improvement for the product. At the moment I can't give a timeline for it, but I am definitely interested and will be moving in that direction. :up:

InSite 11-08-2015 01:29 PM

Quote:

Originally Posted by MarkFL (Post 2558439)
Thank you for your support and kind words. :)

I do agree the static page is mundane and leaves a lot to be desired. I like the direction you are suggesting for this, and would be a major improvement for the product. At the moment I can't give a timeline for it, but I am definitely interested and will be moving in that direction. :up:

That's awesome news - my website is for a gaming guild that is currently inactive while we wait for a specific game to be released, so I'm in no major rush. I'll happily stick with this mod and am happy to help with any feedback you need :)

MarkFL 11-09-2015 01:05 PM

Update: Version 1.9.5:
  • Several minor bug fixes.
  • When viewing the "User-Rated" threads the voters and their votes are displayed when hovering over the number of votes.
  • Thread icons show up to the right of thread titles in search results.

jjohns12 11-09-2015 07:15 PM

Hi

Hope you can help? After upgrading to the latest version I receive This error

PHP Code:

PHP Fatal error:  Cannot redeclare user_link() (previously declared in /***/****/****/****/showthread.php(2406) : eval()'d code:214) in /***/****/****/****/markfl_featuredthreads/featurebuild.php on line 541 

Not every time but quit often.

Thanks

MarkFL 11-09-2015 07:52 PM

Quote:

Originally Posted by jjohns12 (Post 2558493)
Hi

Hope you can help? After upgrading to the latest version I receive This error

PHP Code:

PHP Fatal error:  Cannot redeclare user_link() (previously declared in /***/****/****/****/showthread.php(2406) : eval()'d code:214) in /***/****/****/****/markfl_featuredthreads/featurebuild.php on line 541 

Not every time but quit often.

Thanks

I discovered in investigating this that there was a conflict between this product and my "Enhanced Thread Rating" product. I have updated the other product to resolve this conflict...so go here:

Enhanced Thread Rating

and update to version 1.2, and this should take care of it. Thank you for bringing this to my attention! :)

jjohns12 11-09-2015 09:51 PM

That did it great! :)

Love this mod Great work!:up:

MarkFL 11-12-2015 01:55 AM

Update: Version 1.9.6:
  • Added setting to allow maximum length of displayed forum names.
  • Fixed bug with collapse button.

ikopylov 11-13-2015 06:33 PM

MarkFL, There are 2 problems:
1 - there is a lot of text in scripts and modules. Therefore if the forum is bilingual or non-English language, it will not be displayed correctly

2 - if the forum has 2 skins: light and dark. The unit will be not correctly displayed

MarkFL 11-13-2015 06:44 PM

Update: Version 1.9.7:
  • Fixed bad link to forums bug introduced in last update.
  • Added setting to designate forums where latest thread posted there is auto-added to "Featured Threads" list, with the option to simultaneously auto-remove the previously added thread.

MarkFL 11-13-2015 06:50 PM

Quote:

Originally Posted by ikopylov (Post 2558746)
MarkFL, There are 2 problems:
1 - there is a lot of text in scripts and modules. Therefore if the forum is bilingual or non-English language, it will not be displayed correctly

Okay, I will see about replacing all text with phrases. :)

Quote:

Originally Posted by ikopylov (Post 2558746)
2 - if the forum has 2 skins: light and dark. The unit will be not correctly displayed

Do you mean what works for a one style doesn't work for another in terms of coloring? If so, I will look into giving the option to use stylevars OR custom coloring.

ikopylov 11-13-2015 07:41 PM

Quote:

Originally Posted by MarkFL (Post 2558749)
replacing all text with phrases.

Quote:

Originally Posted by MarkFL (Post 2558749)
I will look into giving the option to use stylevars OR custom coloring.

It is a really good ideas

chloe101 12-31-2015 03:35 AM

The installation went without a hitch on my development site and I'm really loving it.

Thanks so much for this!

setishock 12-31-2015 01:18 PM

Would it be possible to have it show XXXX viewed threads with a set point of the amount of views?
I have several threads that are over 8000 views while a few hover around 2000. Some others I'd like to draw attention to are 800 to 900 views and less. I'd like to draw attention to those threads also that don't have many views.

Or is this add on over kill for something like that?

edwinrcollins 01-04-2016 01:34 PM

Loaded and seems to be working only one issue.

The featured Thread Button is out of alignment:

https://vborg.vbsupport.ru/external/2016/01/22.jpg

MarkFL 01-04-2016 03:41 PM

Quote:

Originally Posted by edwinrcollins (Post 2561947)
Loaded and seems to be working only one issue.

The featured Thread Button is out of alignment:

In the template "markfl_featuredthreads_showthread.css" at the very top, locate the selector:

HTML Code:

.pagination_top {
        width: 35% !important;
}

and try setting this to a smaller value. :)

edwinrcollins 01-04-2016 04:46 PM

It doesn't seem to matter how I move the percentage:

https://vborg.vbsupport.ru/external/2016/01/20.jpg

https://vborg.vbsupport.ru/external/2016/01/21.jpg

I can never get it on that same level: I went from 0-100%

I only have it set for admins to see this maybe I can add a line break some place to place it under the other other tab but not over the words?

MarkFL 01-04-2016 06:27 PM

I would be willing to come to your site and troubleshoot. If you want me to, PM the credentials for a temporary admin account to me. :)

edwinrcollins 01-04-2016 06:52 PM

Pm sent, Thanks!

MarkFL 01-04-2016 07:23 PM

I got the issue straightened out...I reverted the CSS template associated with ths product, and then to your "additional.css" template, I added the following selector:

HTML Code:

#above_postlist .newcontent_textcontrol {
        clear: none !important;
}


edwinrcollins 01-04-2016 08:05 PM

Quote:

Originally Posted by MarkFL (Post 2561986)
I got the issue straightened out...I reverted the CSS template associated with ths product, and then to your "additional.css" template, I added the following selector:

HTML Code:

#above_postlist .newcontent_textcontrol {
        clear: none !important;
}


Thanks for the fix, awesome work! :up:

CAG CheechDogg 01-05-2016 01:58 AM

Good stuff Mark ..I always go through every single page of a mod before I decide to use it ..I look for bugs and if they have been fixed and this is something I am going to check out sometime next week ..very busy this week with work and this weekend with my Son and Girlfriend .... thank you !!!

vze2yqtm 01-06-2016 05:00 PM

Thank you so much for the mod, Sir :) Is there a way I can embed it in a custom location on my index?

MarkFL 01-06-2016 05:27 PM

Quote:

Originally Posted by vze2yqtm (Post 2562120)
Thank you so much for the mod, Sir :) Is there a way I can embed it in a custom location on my index?

Where did you want it to appear?

vze2yqtm 01-06-2016 05:39 PM

Quote:

Originally Posted by MarkFL (Post 2562135)
Where did you want it to appear?

Above my shoutbox, please - also is there a way to have a 2nd instance of this? Say one instance for news sections and another for a pictures section? Or have the links from each in the same instance but different color links?

MarkFL 01-06-2016 07:18 PM

I would have to come to your site to see why the shoutbox is above it. At present there's not a way to have multiple lists. :)

vze2yqtm 01-09-2016 08:39 AM

Quote:

Originally Posted by MarkFL (Post 2562149)
I would have to come to your site to see why the shoutbox is above it. At present there's not a way to have multiple lists. :)


Messaged, thanks so much :)

jagtpf 01-10-2016 11:43 AM

Only installed on test PC site.

On any Location setting, bar default, I get error :

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\poets\includes\class_core.php on line 1394

Geoff

MarkFL 01-12-2016 02:54 AM

Quote:

Originally Posted by vze2yqtm (Post 2562333)
Messaged, thanks so much :)

I found the issue...another product is replacing your "navbar" template with a custom version, which makes my product the ineffectual. I hacked my plugin to use the name of the custom template instead, and rearranged where my custom hook is added so that now the "Featured Threads" list appears above the shoutbox, on the index page. :)

vze2yqtm 01-12-2016 10:22 AM

Quote:

Originally Posted by MarkFL (Post 2562520)
I found the issue...another product is replacing your "navbar" template with a custom version, which makes my product the ineffectual. I hacked my plugin to use the name of the custom template instead, and rearranged where my custom hook is added so that now the "Featured Threads" list appears above the shoutbox, on the index page. :)

Thanks so much :)

MarkFL 01-14-2016 06:35 AM

1 Attachment(s)
Quote:

Originally Posted by vze2yqtm (Post 2562530)
Thanks so much :)

I have traced the issue to you allowing HTML in posts, and so I am attaching a replacement for "markfl_featuredthreads/featurebuild.php" that will account for that. :)

Download this file, and then upload it to the "markfl_featuredthreads" folder, overwriting the file already there. This change will automatically be incorporated into future updates of this product, as will a workaround for those using the same product you are using that replaces the "navbar" template with a custom version.

This attached file is just a bandaid for you until then. ;)

vze2yqtm 01-14-2016 06:24 PM

Thanks so much Mark :)

jagtpf 01-18-2016 03:27 PM

Sorry Mark - I've loaded this onto a fresh test version of Forum (under xampp) and I'm still getting ....

Quote:

Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\poetsl\includes\class_core.php on line 1394

Geoff

MarkFL 01-18-2016 04:49 PM

Quote:

Originally Posted by jagtpf (Post 2562890)
Sorry Mark - I've loaded this onto a fresh test version of Forum (under xampp) and I'm still getting ....




Geoff

Hello Geoff,

I apologize for not responding to your earlier post...I have no idea what could be causing this error. Can you post the line of code at which the error is pointing?

jagtpf 01-19-2016 08:59 AM

Quote:

Originally Posted by MarkFL (Post 2562900)
Hello Geoff,

I apologize for not responding to your earlier post...I have no idea what could be causing this error. Can you post the line of code at which the error is pointing?

Quote:

{
$this->connection_recent =& $link;
$this->querycount++;

if ($queryresult = mysqli_query($link, $this->sql, ($buffered ? MYSQLI_STORE_RESULT : MYSQLI_USE_RESULT)))
{
// unset $sql to lower memory .. this isn't an error, so it's not needed
$this->sql = '';

return $queryresult;
}
Line 1394 seems to be pointing at the 'if statement'.

The database in config.php is set to mysql - and everything else, Live and Test are running OK with this setting.


All times are GMT. The time now is 02:21 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.01511 seconds
  • Memory Usage 1,851KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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