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)

MarkFL 07-20-2017 01:12 PM

Follow:

AdminCP -> MarkFL: Featured Threads -> Nominations

By default, nominations are not enabled, so you have to define the settings how you want. :)

The Realist 07-20-2017 02:26 PM

Thanks Mark worked that out afterwards.

The Realist 07-20-2017 02:32 PM

Mark,

Just created a poll and received this error?

PHP Warning: mysql_insert_id(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in ..../featuredthread.php on line 334

PHP Warning: mysql_insert_id(): A link to the server could not be established in ..../featuredthread.php on line 334

Any ideas?

MarkFL 07-20-2017 03:01 PM

1 Attachment(s)
Okay, I've attached as a hot fix, a replacement for the "featuredthread.php" script. Please replace the file on your server, and let me know if that fixes the poll creation issue. :)

The Realist 07-20-2017 03:02 PM

Will do.

The Realist 07-20-2017 03:05 PM

PHP Warning: require_once(./markfl_featuredthreads/featurebuild.php): failed to open stream: No such file or directory in ..../includes/class_bootstrap.php(433) : eval()'d code on line 399

Fatal error: require_once(): Failed opening required './markfl_featuredthreads/featurebuild.php' (include_path='.:/usr/newage/lib/php') in /var/sites/t/thesaltybox.com/public_html/forum/includes/class_bootstrap.php(433) : eval()'d code on line 399

The Realist 07-20-2017 03:11 PM

Ops hehehe replaced the wrong file duh?

Above error fixed but when the correct file is replaced I get this error:

PHP Warning: mysql_insert_id(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in ..../featuredthread.php on line 334

PHP Warning: mysql_insert_id(): A link to the server could not be established in ..../featuredthread.php on line 334

MarkFL 07-20-2017 03:15 PM

Are you sure you have the new file in the right place? That error indicates you are running the old file...

The Realist 07-20-2017 03:43 PM

Yeh I'll try it again from a fresh download.

The Realist 07-20-2017 03:48 PM

Thanks Mark worked a treat.

I did indeed use the old file but now poll was created fine.

Thank you.

MarkFL 07-20-2017 03:52 PM

Great, glad to hear it worked out! :)

Pocket Aces 09-26-2018 08:09 AM

Works fine in chrome. Firefox results in load timeouts.

Sforums 10-15-2019 11:16 AM

I am on vb 4.1.0.
I can't see option anywhere how to add thread to featured one. Using vb default skin.
Installed without problems, link is right there on navbar, visible above forums but no button to add or nominate.
What am I doing wrong?

Sforums 10-17-2019 02:45 AM

MarkFL can you help me out here please?

MarkFL 10-17-2019 04:18 PM

Quote:

Originally Posted by Sforums (Post 2600944)
I am on vb 4.1.0.
I can't see option anywhere how to add thread to featured one. Using vb default skin.
Installed without problems, link is right there on navbar, visible above forums but no button to add or nominate.
What am I doing wrong?

I've never worked with vB 4.1.x, but I would suspect template incompatibility. I see I marked this as for vB 4.x.x, but perhaps I should have used 4.2.x instead.

Are you certain you have designated your usergroup to be able to add/nominate?

Sforums 10-17-2019 04:23 PM

Yes I have.
Sending you PM.

Quote:

Originally Posted by MarkFL (Post 2600975)
I've never worked with vB 4.1.x, but I would suspect template incompatibility. I see I marked this as for vB 4.x.x, but perhaps I should have used 4.2.x instead.

Are you certain you have designated your usergroup to be able to add/nominate?



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.01083 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)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
  • (16)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