![]() |
and there is another problem, if we have more than 3 pages, the third page turn back to the first one... :(
|
Quote:
Code:
INSERT INTO `settinggroup` ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32'); Code:
INSERT INTO `setting` ( settingid , settinggroupid , title , varname , value , description , optioncode , displayorder ) VALUES (NULL , '32', 'Flash Gallery Active', 'flash_on', '1', 'This will turn off the gallery. It can be useful when trying to add Flash files or making modifications.', 'yesno', '1'); |
Quote:
Code:
Invalid SQL: INSERT INTO `settinggroup` ( settinggroupid , title , displayorder ) VALUES ('32', 'Flash Gallery Options', '32'); |
Quote:
|
change the value 32, to NULL and it will work. :)
|
This hack works great, much better than the other addon in my opinion.
You really should update your zip file on the first page though, I had to debug a lot of your code. Thanks though, works great now! |
$user = $DB_site->query_first("SELECT username FROM user WHERE
userid='$flashinfo[userid]'"); $username = $user[username]; $userid = $flashinfo[userid]; There seems to be a problem with this code here. In the gallery, the "submitted by" never shows the username. |
When I surpase several pages (2) it continues to load the first pages worth of flash files/thumbs?
Any ideas |
you have incorrect PHP (or it could have been my mistake implementing it)
$pagestart = ($pagenumber - 1) * $ppage; should be: $pagestart = ($pagenumber - 1) * $perpage; |
I have this hack installed but I don't really like it, could anyone tell me how I can remove the database entries?
Thanks in advance. |
All times are GMT. The time now is 07:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|