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)
-   -   Mini Mods - Display random products from your Zen Cart Store on your home page. (https://vborg.vbsupport.ru/showthread.php?t=137876)

BlueBulletRL 01-28-2007 10:00 PM

Display random products from your Zen Cart Store on your home page.
 
Whats up everybody. This isn't a major hack or anything but like some people on here I have ZenCart store system running on my site. I wanted a way to display random products onto my sites home page. So with some help from a friend we created a php file that does so. All you need to do is add your information to the variables. and then upload the php file to your modules folder. After that create a new module and use php file. I can try to help with any problems the best I can but I'm not sure how much I will be able to. However this is very straight forward. Just download the attachment and change the variables.

Firen 01-29-2007 11:27 PM

Awesome! Thankyou. I'm off to try it now. :)

TROLL 01-30-2007 01:21 AM

my web guy roxors! :)

Gsmdenis 03-05-2007 08:26 PM

$database = 'xxxx';

$link = mysql_connect($dblocation, $dbname, $dbpw, $database) or die (mysql_error ());

????

not work

rungok 03-16-2007 11:16 AM

When the developer talks about the "modules"-folder he/she forgets to tell us that you actually need the vBadvanced CMPS-portal installed to use this php-file as it is. There is also some strange table-properties. Maybe its for some old version of Zencart. Usually Zencart is installed with zen_-prefix. I have done some modifications:
  1. Corrected query to reflect ZenCart v1.2.6 table-properties with zen_-prefix
  2. It now only displays active merchandise
  3. Modified design for right column display
  4. Toned down the giant letters
  5. Removed hardcoded URL in the code

BlueBulletRL 05-07-2007 07:56 PM

Yes sorry about that it was something quick. I like the way you edited the file and may use it. I didnt even think about the active and non active items. This was my first shot at a module. I also apologize about not realizing it was for just CMPS. Thought it might of been able to be used without it.

rungok 05-08-2007 09:05 AM

Ok. What version of ZenCart were you programming it for?

tazzarkin 03-09-2008 01:30 AM

Thanks for making this guys. Any idea if there is a zen-cart and vbulletin bridge out there so they can share the same userid and password?

honge 04-24-2008 06:53 AM

other??? , waiting for other cart


All times are GMT. The time now is 09:15 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.01113 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete