vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - News Slideshow (https://vborg.vbsupport.ru/showthread.php?t=139529)

GrendelKhan{TSU 03-11-2007 03:02 PM

unrelated question...

Does does it randomly update / change with new image uploads?

you say
Quote:

It also displays by stickies first, then by date
but not how it updates.

I got lots of stickies in some forums (more than my configured display limit)
...so will it always be showing the same sticky ones in the slideshow?

also, "by date".. meaning most recent first or oldest first? is there a way to make it most recent first (so it updates with each new image upload) or NOT pick stickies?

Lionel 03-11-2007 03:04 PM

Quote:

Originally Posted by flzero (Post 1198903)
ouch >.<
I didn't saw that this slideshow is only for vbadvanced.. 22? for nothing -.- thats just horrible oO

The guy is a very nice guy. Try to explain the situation to him. He might give you a refund.

criscokid 03-11-2007 03:05 PM

I'm trying to get my head around this mod and the Joomla addon... more specifically what this mod does that makes it work with vB.

I use vbPortal so I'm wondering what I would have to do to get the Joomla addon to work on a vbPortal page.

Lionel 03-11-2007 03:06 PM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1200858)
unrelated question...

Does does it randomly update / change with new image uploads?

you say
but not how it updates.

I got lots of stickies in some forums (more than my configured display limit)
...so will it always be showing the same sticky ones in the slideshow?

also, "by date".. meaning most recent first or oldest first? is there a way to make it most recent first (so it updates with each new image upload) or NOT pick stickies?

No random. This is a "NEWS" slideshow. It will display the latest news with attachments first. But if you have stickies with attachments, they get priorities.

Lionel 03-11-2007 03:08 PM

Quote:

Originally Posted by criscokid (Post 1200860)
I'm trying to get my head around this mod and the Joomla addon... more specifically what this mod does that makes it work with vB.

I use vbPortal so I'm wondering what I would have to do to get the Joomla addon to work on a vbPortal page.

This mod was created specifically for vbadvanced. I am not familiar with vbportal.

Lionel 03-11-2007 03:10 PM

sorry, did not see your stickies question. Simply remove stickies in the order by if you don't want them.

GrendelKhan{TSU 03-11-2007 03:15 PM

Quote:

Originally Posted by Lionel (Post 1200852)
Please remove that zip from your post.
Did you set the forumsid in slideshow.php?
Do you actually have uploaded attachments inthere?

1. done. removed.
2. yup
Quote:

$forumid=array(2,4,9,12,14,19,16,23,37,55,65,118,1 19,120,124,125);
3. yup..tons!!

I reactivated it so you can see it for yourself in action with the errors:
TSU - Unreal Tournament sniper Clan and UT community)


But here are some specific examples of both issues:

Lionel 03-11-2007 03:20 PM

sorry, but in the example you provided there are no attachments. I see a big image for an announcement and some signatures images, but no attachments in first thread.

GrendelKhan{TSU 03-11-2007 03:23 PM

Quote:

Originally Posted by Lionel (Post 1200871)
sorry, did not see your stickies question. Simply remove stickies in the order by if you don't want them.

no worries, and sorry as well...another n00b question. :o
I'm not a coder so I'm completely guessing here:

so, take this part:
PHP Code:

$getnews $db->query_read("SELECT threadid from " TABLE_PREFIX "thread WHERE attach !='0' AND forumid in($forumid) ORDER by sticky DESC, threadid DESC LIMIT $limit");
while (
$news $db->fetch_array($getnews)) { $myid[]=$news['threadid']; }
$div_id 1;
foreach (
$myid as $threadid) { 

and delete the "ORDER by sticky DESC,"

so I get:
PHP Code:

$getnews $db->query_read("SELECT threadid from " TABLE_PREFIX "thread WHERE attach !='0' AND forumid in($forumid) threadid DESC LIMIT $limit");
while (
$news $db->fetch_array($getnews)) { $myid[]=$news['threadid']; }
$div_id 1;
foreach (
$myid as $threadid) { 

would that solve the sticky problem?
:confused:

Lionel 03-11-2007 03:26 PM

only remove (notice the comma?)

Quote:

sticky DESC,
Now, you seem to have some confusion over what attachments are. Attachments are not images included in your thread from imageshack or somewhere else. Attachments are what you uploaded from Manage Attachments when you create a thread.


All times are GMT. The time now is 06:23 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.01348 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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