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)

BarryoBrien 02-16-2007 03:00 PM

Quote:

Originally Posted by BarryoBrien (Post 1183953)
I did'nt mark it as installed because I could'nt get it to work I tryed uploading the xml file and thats the error I got.

I mean't php sorry but the error is the same could you see if there is anything that I could do to fix it you hack looks 1st class

Lionel 02-16-2007 03:08 PM

Quote:

Originally Posted by BarryoBrien (Post 1183955)
I mean't php sorry but the error is the same could you see if there is anything that I could do to fix it you hack looks 1st class


You need to upload php via FTP

jgommel 02-16-2007 09:31 PM

Okay, I purchased the addon and already received it via email. I unzipped it renamed the folder to mod_fpslideshow in order to match the directions and the path within slideshow.php. I uploaded the folder to my clientscript folder and chmod all .js files to 777. Next, I edited the slideshow.php file and only applied one forum number (110). I changed all the /forums path to /vb and I'm assuming here:

Code:

fopen("/var/www/forums/clientscript/mod_fpslideshow/mod_fpslideshow.js",'w');
I would change that to the direct path to the mod_fpslideshow.js file -- like this:

Code:

fopen("/home/domain/public_html/vb/clientscript/mod_fpslideshow/mod_fpslideshow.js",'w');
I uploaded 4 images to my new forum, and then created a php module within the vbacmps following the directions and activated the module, but for some reason I'm getting the following error:

Warning: Invalid argument supplied for foreach() in /modules/slideshow.php on line 257

The mod is also not playing nice with my skin/theme. It's throwing the header bar underneath the mod and nothing is aligning.

Did I miss something?

Here's a screenshot of the error - you can see here that it's not playing nice with my skin/theme either.

Lizard King 02-16-2007 10:07 PM

If this module isn't working good with your style then you probably have a bug in your style.

did you also change the forums path in scripts ?
Also please check the following
Code:

$forumid=array(110);
You shall not have a comma if you only have one forum

jgommel 02-16-2007 10:35 PM

Quote:

Originally Posted by Lizard King (Post 1184212)
If this module isn't working good with your style then you probably have a bug in your style.

Well, I know there's no problem with the style I'm using because every other mod I've installed works fine...

Quote:

Originally Posted by Lizard King (Post 1184212)
did you also change the forums path in scripts ?

Which scripts? I've searched all 4 .js files and the .css file and didn't see any paths to change.

Quote:

Originally Posted by Lizard King (Post 1184212)
Also please check the following
Code:

$forumid=array(110);
You shall not have a comma if you only have one forum

[/quote]
Yea, I checked that and confirmed that there are no commas after the single forum number.

Note, I figured out a portion of my problem(s). For one, after unzipping the addon, it created a folder mod_fpslideshow_1.1 Folder, and within that folder is another folder: mod_fpslideshow. What I did was renamed the mod_fpslideshow_1.1 Folder to mod_fpslideshow and copied that folder into the clientscript directory. The final path ended up being /clientscript/mod_fpslideshow/mod_fpslideshow/

Once I figured out my blunder, I deleted the folders and just uploaded the sub-folder: mod_fpslideshow into the clientscript directory --- so now part of my problem was fixed, but I still had the Warning Error.

It turns out, this mod only works with ATTACHMENTS. I have the Geek Gallery Popup 4.00 and highslide mod(s) installed, so when I created the new forum, and applied images - I applied images using Geek Gallery Popup.

I re-applied an image as an attachment, and now the images work (sorta) along with the addon. Since my style is not fixed, the module resizes with the browser, so I need to figure out how to apply a 100% width w/out making it stretch outside the normal middle column boundaries.

And, the modules title bar is still displaying under the addon.

You can view the site here: http://www.neosmut.com the module is at the bottom (center)

Lionel 02-16-2007 11:15 PM

This mod rotates attachments for specific forums that you set.

Lionel 02-16-2007 11:17 PM

Your page looks fine, so I gather you fix it. Also make sure that the vbadvanced module is not using any container. It's not using any title bar.

Use Module Shell Template: NO

jgommel 02-16-2007 11:53 PM

Quote:

Originally Posted by Lionel (Post 1184241)
Your page looks fine, so I gather you fix it. Also make sure that the vbadvanced module is not using any container. It's not using any title bar.

Use Module Shell Template: NO

If I wanted to apply a title bar and encase the entire mod within a template, I should be able to just create a template to include the title bar background etc... correct?

Lionel 02-17-2007 12:03 AM

The whole idea of the css <div> is to keep it free from tables. If you want to try, try it.

jgommel 02-17-2007 01:03 AM

Does anyone have any suggestions on how I would go about doing this? I've been playing around with it for about an hour, and tried a few things like using the following line of code, which is found in other modules... eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_slideshow') . '";'); and then I created a template (adv_portal_slideshow) using the code below.

I also tried using creating the block manually using the following table code...

Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
        <thead>
        <tr>
                <td class="tcat">
                        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('slideshow')"><img id="collapseimg_slideshow" src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_slideshow.gif" alt="" border="0" /></a>
                        <span class="smallfont"><strong>$vba_style[portal_blockbullet] slideshow Module</strong></span>
                </td>
        </tr>
        </thead>
       
        <tbody id="collapseobj_slideshow" style="$collapseobj_slideshow">
        <tr>
                <td class="alt1" align="center">
               
                </td>
        </tr>
        </tbody>

</table>
<br />

The problem I see is that the variables are not declared anywhere, so the code doesn't know what to do? I'm no programmer (by a long shot), but I've been able to figure out little things here and there... Thanks in advance for the help.


All times are GMT. The time now is 10:16 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.01434 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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