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)

Lionel 02-15-2007 10:00 PM

News Slideshow
 
...................

FleaBag 02-16-2007 12:21 AM

This is great! I'm about to buy the script now. Thanks for sharing. Do you by any chance have any integration with their video player going?

Lionel 02-16-2007 12:22 AM

I have some really nice integration with their video player (but you need to be registered to see the full scoop and it also requires joomla to be installed).

I also just finished a standalone movie database, getting info from IMDB into forums with images etc..., using threadprefixes for genres, but I am not sure if I can release it here.

abramelin 02-16-2007 05:52 AM

Quote:

Originally Posted by Lionel (Post 1183515)
I also just finished a standalone movie database, getting info from IMDB into forums with images etc..., using threadprefixes for genres, but I am not sure if I can release it here.

if you can release it i'll obey you master!!!

Lionel 02-16-2007 06:05 AM

Quote:

Originally Posted by abramelin (Post 1183669)
if you can release it i'll obey you master!!!

Let me wet your beak :p

I suggest you contact Marco. If he says yes, I will.

The way it work, you have a search page. You type in the name of the movie, the search result gives you a list (one or more) of the similar titles. You click on that title, it displays all the info for that movie. You like it, then you click on "Add Movie" and it creates the thread for you automatically using the data manager.

Here is my entry point, page is a little slow because I am temporary fetching info from France. (forum is password protected). I am basically done for most people. But since the movies produced in my country do not all find their way to IMDB, I still have to do a manual entry interface for those.

BarryoBrien 02-16-2007 11:04 AM

XML Error: junk after document element at Line 198

any ideas

Lizard King 02-16-2007 11:49 AM

I also see that you integrated this with GARS which makes takes me into the project more and more :) I also purchased the script and will wait information from you about the movie database :)

Lionel 02-16-2007 01:08 PM

Quote:

Originally Posted by BarryoBrien (Post 1183784)
XML Error: junk after document element at Line 198

any ideas


don't know why you are getting this error, you have not installed it!! And there are no xml!!!

Lionel 02-16-2007 01:09 PM

Quote:

Originally Posted by Lizard King (Post 1183806)
I also purchased the script :)

BTW, I am not affiliated with the guy... I know him from a long time from Joomla.

Lizard King 02-16-2007 01:31 PM

Even if you do i don't mind about it :)

Lionel can you give me a clue if you are going to release https://vborg.vbsupport.ru/attachmen...5&d=1171612786 this one ? beucase as i said i believe this is integrated with GARS and i was looking for this really long long time :)

Lionel 02-16-2007 01:36 PM

Quote:

Originally Posted by Lizard King (Post 1183883)
Even if you do i don't mind about it :)

Lionel can you give me a clue if you are going to release https://vborg.vbsupport.ru/attachmen...5&d=1171612786 this one ? beucase as i said i believe this is integrated with GARS and i was looking for this really long long time :)

I need to do a small thing with Gars (automatically create and insert movie image as header image)

Lionel 02-16-2007 01:37 PM

hummm you solved your open based directory thing? I don't see the post anymore

Lionel 02-16-2007 01:43 PM

you also need to let unregistered see attachments

Lionel 02-16-2007 01:49 PM

I think I know your problem, I store images as attachment in database you don't. Simply change the image <img src to reflect that

abramelin 02-16-2007 01:56 PM

can we use this mod for vBonjour or are you planning to integrate this with vBonjour?

Lionel 02-16-2007 01:59 PM

I never used vBonjour.

I was never been able to see the example, so I stayed with vbadvanced with which I am extremely comfortable.

Lizard King 02-16-2007 02:25 PM

Yep i missed the needed edit at the bottom of the page and corrected the problem with attachments by allowing guests to download attchements. Perfect mod Lionel

trancetopia 02-16-2007 02:30 PM

Really can't wait to try this and the other work you are doing with the IMDB has me hooked!!! I've ordered the script and still waiting for it but looking forward to getting this up and running soon.

Thank you so much for such promising integration with vBA and GARS.

Lionel 02-16-2007 02:34 PM

Quote:

Originally Posted by Lizard King (Post 1183923)
Yep i missed the needed edit at the bottom of the page and corrected the problem with attachments by allowing guests to download attchements. Perfect mod Lionel


After a while you'll get used on how to create images so they show nicely in IE.
Since your images are more in width, I would suggest adjusting the $maxchars so it takes less space and display more image. Also play with the css for title.

BarryoBrien 02-16-2007 02:56 PM

Quote:

Originally Posted by Lionel (Post 1183863)
don't know why you are getting this error, you have not installed it!! And there are no xml!!!

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.

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.

ivand 02-17-2007 12:41 PM

Just put the content in slideshow.php in table row and use the shell in VBA.

<tr><td> generated content</td></tr>

I have another problem - cant get the navigation menu to display.

I fixed the menue issue by inserting more rows - check the syntax of my page if you have similar issue: http://www.avto1.com

jgommel 02-17-2007 05:39 PM

Quote:

Originally Posted by ivand (Post 1184533)
Just put the content in slideshow.php in table row and use the shell in VBA.

<tr><td> generated content</td></tr>

I have another problem - cant get the navigation menu to display.

I fixed the menue issue by inserting more rows - check the syntax of my page if you have similar issue: http://www.avto1.com

:D Something as easy as that - thanks! I added a few more table rows, a <br /> here and there and a few class"alt1" and "alt2" ... I'm good to go!!! Thank you for your help.

... now to start filling in content.

bashy 02-17-2007 09:04 PM

Hi Lionel

Off topic, but you started it ;)

Your IMDB mod, i see you got it integrated in to GARS, I am currently using GARS to post NZB's, I would like to post an NZB and also post the movie info from imdb using your mod on the same post, would that be possible?

Quote:

Originally Posted by Lionel (Post 1183675)
Let me wet your beak :p

I suggest you contact Marco. If he says yes, I will.

The way it work, you have a search page. You type in the name of the movie, the search result gives you a list (one or more) of the similar titles. You click on that title, it displays all the info for that movie. You like it, then you click on "Add Movie" and it creates the thread for you automatically using the data manager.

Here is my entry point, page is a little slow because I am temporary fetching info from France. (forum is password protected). I am basically done for most people. But since the movies produced in my country do not all find their way to IMDB, I still have to do a manual entry interface for those.


Lionel 02-17-2007 09:07 PM

What is NZB?

I don't think I'll be releasing that mod anyway. It's done, packed, but I believe I read somewhere that it was not allowed.

bashy 02-17-2007 09:23 PM

thats a shame, looks nice, an nzb is a newsgroup binary file, it would be just the same as uploading and file really, but i would have liked to have it where i upload the file then choose to include the page from IMDB also...

Lizard King 02-17-2007 09:26 PM

Lionel while i was thinking today i also thought it would be awesome if we can get slideshow working as a GARS module also :)
Do you think it is possible ?

Invalid ID 02-18-2007 02:24 AM

Man.... you are some wizard !!!

How did you integrate your vbulletin forum with Joomla?

Waiting for your reply... walking to and fro....

Lionel 02-18-2007 02:33 AM

Quote:

Originally Posted by Lizard King (Post 1184818)
Lionel while i was thinking today i also thought it would be awesome if we can get slideshow working as a GARS module also :)
Do you think it is possible ?

I am not sure I understand your question. You mean to display the slideshow in forumdisplay or showthread?

Lionel 02-18-2007 02:38 AM

Quote:

Originally Posted by Invalid ID (Post 1185021)
Man.... you are some wizard !!!

How did you integrate your vbulletin forum with Joomla?

Waiting for your reply... walking to and fro....

That module, even though it's a Joomla module, is totally independent from joomla, meaning you don't need to have Joomla to make it work.

Yes, my site is tightly integrated with Joomla. The two breath together. And thanks to that, I can integrate any md5 based script with Vbulletin, via Joomla.

I have tons of nice integrations on my site, but I can't release them because they are dependents of various other hacks.

Lizard King 02-18-2007 02:44 AM

Quote:

Originally Posted by Lionel (Post 1185034)
I am not sure I understand your question. You mean to display the slideshow in forumdisplay or showthread?

Yep display the slideshow in Gars powered forumdisplay pages.


All times are GMT. The time now is 05:53 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
  • Page Generation 0.01682 seconds
  • Memory Usage 1,844KB
  • 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
  • (18)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
  • (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