vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - e-steki Featured threads 1.0.1 (https://vborg.vbsupport.ru/showthread.php?t=155299)

Lea Verou 08-14-2007 10:00 PM

e-steki Featured threads 1.0.1
 
What does this do?
This hack lets mods/admins to choose some threads as featured, enter a description (if no description entered the first post will be used) and they will be displayed at forumdisplay, in the position that the admin selected. Refer to the Features section below for more information.

Features
Admin Features
  1. Absolutely NO template modifications and you even get to control where the table will be placed in Forumdisplay with a simple setting!
  2. Fully phrased.
  3. Ability to set a cutoff limit, so that if the featured threads are more than X, the rest will not show.
  4. Ability to specify whether the featured threads will be ordered by the date they were featured, their last post date or their creation date.
  5. Ability to specify whether html, bbcode, [img] tags or smilies will be shown in the description (or the first post if no description has been entered).
  6. When featuring/un-featuring a thread, the action is logged in the moderator log.
  7. A nice, usable and extensive manual instead of an ugly readme.txt ;-)
End user / moderator Features
  1. Moderators can enter a fully formatted description with bbcodes and everything (if allowed by the admin)
  2. The table is collapsible, and if it has nothing to display it doesn't show.
  3. Thread elements that are displayed: Thread icon, Title, Link to the thread, creation date and time, number of replies (clickable), thread poster.
Don't forget to Mark as Installed!
Support will be provided only for a few days after each release.
Installation instructions and a FAQ are in the manual.

Lea Verou 08-15-2007 12:36 PM

First post reserved.

MaestroX 08-15-2007 01:20 PM

Hi Michelle,

Just wanted to say a great release. I was considering conding one myself a short while ago but didn't have the time on my hands.

Anychance of vbadvanced support?

Lea Verou 08-15-2007 01:21 PM

Quote:

Originally Posted by MaestroX (Post 1318106)
Hi Michelle,

Just wanted to say a great release. I was considering conding one myself a short while ago but didn't have the time on my hands.

Anychance of vbadvanced support?

Thanks :)
What do you mean as vbadvanced support?

bobster65 08-15-2007 01:26 PM

Quote:

Originally Posted by Michelle (Post 1318107)
Thanks :)
What do you mean as vbadvanced support?

Im guessing that a vba module for this would be what is wanted... that would be a nice addition to this.. :cool:

simunaqv 08-15-2007 01:27 PM

He probably means a vbadvanced module for showing featured threads.

Lea Verou 08-15-2007 01:29 PM

But if he wants to show ALL featured threads in one module, he can do it already with the news module I think, he will just have to re-select them for it.
This was designed to be forum-specific, so I can't really understand the use of a vba module.

Kaleem 08-15-2007 02:27 PM

Installed good work :)

Lea Verou 08-15-2007 02:29 PM

Thanks :)
How did the installation go?

Kalina 08-15-2007 02:30 PM

Hi Michelle, this seems to be a great plugin but it gave me a database error, I installed it, set the options and when I went to view one of my forums I got a database error. I am running vbulletin 3.6.8.

Here's the error:

Quote:

Warning: Invalid argument supplied for foreach() in /forumdisplay.php(987) : eval()'d code on line 87

Warning: implode() [function.implode]: Bad arguments. in /forumdisplay.php(987) : eval()'d code on line 95
Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT
thread.threadid,
thread.title,
thread.postuserid as posterid,
thread.postusername as poster,
thread.dateline,
thread.replycount,
thread.isfeatured,
thread.fdesc,
thread.iconid,
post.pagetext
FROM thread as thread
LEFT JOIN post as post ON(post.postid = thread.firstpostid)
WHERE
thread.isfeatured = 1
AND thread.forumid IN ()
ORDER BY fdate DESC
LIMIT 3;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
ORDER BY fdate DESC
LIMIT 3' at line 16
Error Number : 1064
Date : Wednesday, August 15th 2007 @ 10:28:29 AM
Script : http://www.webtalkforums.com/forumdisplay.php?f=53
Referrer : http://www.webtalkforums.com/
IP Address : xx.xxx.xxx.xxx
Username : Colleen
Classname : vb_database

Kaleem 08-15-2007 02:39 PM

Quote:

Originally Posted by Michelle (Post 1318155)
Thanks :)
How did the installation go?

Smooth Flawless :)

I checked both with Description and without.

With Description it shows only the description and without description it shows the contents of the thread as a description.

Just featured one thread and working fine

http://www.friendskorner.com/forum/f15/

Lea Verou 08-15-2007 03:06 PM

Quote:

Originally Posted by Kalina (Post 1318157)
Hi Michelle, this seems to be a great plugin but it gave me a database error, I installed it, set the options and when I went to view one of my forums I got a database error. I am running vbulletin 3.6.8.

Here's the error:

Ah damn, if any of my hacks has a bug, there is a 90% chance that it is this exact error :p
Please provide:
1. A screenshot of your Featured threads settings
2. What the forumid of that forum was
3. Did that forum have any child forums?

Lea Verou 08-15-2007 03:06 PM

Quote:

Originally Posted by LightInClouds (Post 1318163)
Smooth Flawless :)

I checked both with Description and without.

With Description it shows only the description and without description it shows the contents of the thread as a description.

Just featured one thread and working fine

http://www.friendskorner.com/forum/f15/

I am glad its working fine for you :) :)

Lea Verou 08-15-2007 03:07 PM

Btw this hack now works in harmony with v1.1.3 of e-steki User modlog, if you have it installed, it even displays a separate icon in the logs :)

Kalina 08-15-2007 03:30 PM

Michelle,

I can't recreate is cause it's a live forum but I just did a little test on a test forum, it happens when I disable "Show featured threads from subforums?"

And it happens whether or not a child has subforums.

All settings are left at default except I set "Position of the featured threads table" to "Above threads" and "Show featured threads from subforums?" to "No"

NFLfbJunkie 08-15-2007 04:55 PM

I was getting the statement "If the thread is featured, please add a description below:" flushing all the way to the left and not appearing in one line. I edited the following:

HTML Code:

<td valign="top" width="1">
to:

HTML Code:

<td valign="top" width="100%">
And the statement appears on one line now.

Lea Verou 08-15-2007 05:37 PM

Kalina, I just realised what the error is, I will fix it shortly.
Junkie, wouldn't that mean that the rules table is too far away from the description? This is why I put the 1 there, but I forgot to test it with browsers other than firefox.

NFLfbJunkie 08-15-2007 05:42 PM

Not sure. I even removed the posting rules code and still had the same problem. But changing the '1' to '100%' fixed it for me. Maybe it is a browser problem.

Lea Verou 08-15-2007 07:19 PM

Version 1.0.1
------------------
-Fixed bug when the setting "Show featured threads from subforums?" was set to No
-Fixed small template bug in Edit thread.

cynthetiq 08-15-2007 09:03 PM

awesome idea for a mod... I'm away for the moment but I must say, you doing these things is a great benefit. thank you again and I'll install tomorrow.

Reeve of shinra 08-16-2007 01:30 AM

I was looking for something like this to use on my front page (vbadvanced).
Would it be hard to adapt for my own use?

Lea Verou 08-16-2007 07:15 AM

Quote:

Originally Posted by Reeve of shinra (Post 1318570)
I was looking for something like this to use on my front page (vbadvanced).
Would it be hard to adapt for my own use?

If you want something for your vba homepage why don't you use the built-in news module?

Kaleem 08-16-2007 01:46 PM

OK it was good and fine until i upgraded :)

In my forus when u post in the Parent forum the new thread button points to the sub forum and post the new thread there, disabling this hack solved the problem so i guesss this hack was the problem so i m uninstalling until i dont find the solution. :)

Lea Verou 08-16-2007 02:08 PM

Quote:

Originally Posted by LightInClouds (Post 1318945)
OK it was good and fine until i upgraded :)

In my forus when u post in the Parent forum the new thread button points to the sub forum and post the new thread there, disabling this hack solved the problem so i guesss this hack was the problem so i m uninstalling until i dont find the solution. :)

That's really weird, as my hack has nothing to do with the New thread button :confused:
Does anyone else have this problem?

cynthetiq 08-17-2007 06:46 PM

thanks this will come in handy soon.

thenetbox 08-24-2007 01:21 PM

I am having this problem. I have a forum with ID 1 and when you look at the new thread link, it has forum id 100 (which is hidden and not open for posts). When users click on new thread, it sends them to the subforum to make a post.

This problem was resolved after disabling the mod.

edit: This happens with all forums with subforums. If there are two subforums, then the new thread buttons creates a thread in the lowest subforum.

Quote:

Originally Posted by Michelle (Post 1318950)
That's really weird, as my hack has nothing to do with the New thread button :confused:
Does anyone else have this problem?


Lea Verou 08-25-2007 08:37 PM

Quote:

Originally Posted by thenetbox (Post 1324746)
I am having this problem. I have a forum with ID 1 and when you look at the new thread link, it has forum id 100 (which is hidden and not open for posts). When users click on new thread, it sends them to the subforum to make a post.

This problem was resolved after disabling the mod.

edit: This happens with all forums with subforums. If there are two subforums, then the new thread buttons creates a thread in the lowest subforum.

Does anyone else have this issue?

Kaleem 09-01-2007 02:09 PM

Quote:

Originally Posted by Michelle (Post 1325711)
Does anyone else have this issue?

I already told u that i have this problem too :)

ForYou 09-08-2007 07:19 AM

Hello ,

I was installed the hack , but i can't see any thing, how can i give permisions for mod , if i don't need any one use this hack without Admin how can i do that , from where can i put the futured theard ,

Regards

Marys242 09-08-2007 10:49 PM

Quote:

Originally Posted by ForYou (Post 1334707)
Hello ,

I was installed the hack , but i can't see any thing, how can i give permisions for mod , if i don't need any one use this hack without Admin how can i do that , from where can i put the futured theard ,

Regards

me too i'm having the same problem

xandizitxu 09-11-2007 04:25 AM

Hi Michelle,

I installed the mod but, no options appeared I read the faq and yes, there are the comments on my Template :/ do I have to change some conditions to see it working on board managment?

Lea Verou 09-11-2007 08:58 AM

Nothing appears or just some parts?

xandizitxu 09-11-2007 11:07 AM

nothing appear :/

xandizitxu 09-11-2007 03:31 PM

Maybe I'm wrong, but how can I make a feature thread?

I have a lot of products installed maybe this is the problem? A conflict?

yoyoyoyo 09-18-2007 11:59 AM

Quote:

Originally Posted by xandizitxu (Post 1336739)
Hi Michelle,

I installed the mod but, no options appeared I read the faq and yes, there are the comments on my Template :/ do I have to change some conditions to see it working on board managment?

same here - no options to feature the thread appear when posting a thread as pictured in:

https://vborg.vbsupport.ru/attachmen...0&d=1187184547

I checked that all of the necessary code that is mentioned in the manual exists in my forum, and it does, yet nothing new related to this mod appears when creating a thread.

Lea Verou 09-18-2007 12:01 PM

It isn't supposed to appear when creating a thread, but when editing a thread via the admin/mod options (Thread tools -> Edit thread).
This is because when making this hack, I pictured featured threads as already active threads with many replies, and not newly created ones.

yoyoyoyo 09-18-2007 12:05 PM

Quote:

Originally Posted by Michelle (Post 1341675)
It isn't supposed to appear when creating a thread, but when editing a thread via the admin/mod options (Thread tools -> Edit thread).
This is because when making this hack, I pictured featured threads as already active threads with many replies, and not newly created ones.

Ok - I understand now - thanks for the explanation. sorry for not understanding earlier.

Lea Verou 09-18-2007 12:08 PM

Quote:

Originally Posted by yoyoyoyo (Post 1341677)
Ok - I understand now - thanks for the explanation. sorry for not understainding earlier.

Its ok but I don't have the time at the moment (I'm a few hundred km away from home these days). When I find time I'll inform you.

yoyoyoyo 09-18-2007 12:21 PM

Quote:

Originally Posted by Michelle (Post 1341680)
Its ok but I don't have the time at the moment (I'm a few hundred km away from home these days). When I find time I'll inform you.

I think I was editing my post and you were posting at the same time - LOL

all is well now - thanks.

Lea Verou 09-18-2007 12:24 PM

Quote:

Originally Posted by yoyoyoyo (Post 1341691)
I think I was editing my post and you were posting at the same time - LOL

all is well now - thanks.

LOL yes I didn't even look at the quote.


All times are GMT. The time now is 05:50 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.01658 seconds
  • Memory Usage 1,830KB
  • 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_html_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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