Subscribe to Alvin Poh's Blog by RSS reader
Subscribe to Alvin Poh's Blog by Email
Gadgets, Technology, Public speaking and IT from an undergraduate's perspective.
Use Javascript to Display Random Image and Link
I was editing a PHP script today when I realised that one of the files did not allow PHP code. Weird. But the annoying thing was that I NEEDED it to run PHP code — or rather, I needed it to randomly display an image with a link.
So I had to find other means, which turned out to be good ol’ Javascript. The code below will allow you to use Javascript to randomly output or show an image with a link.
Download the Javascript here (Right click and save target as)
Subscribe to my blog:
RSS reader
Email
Free ZenCart Templates / ZenCart Themes / Zen Cart Skins
If you’re thinking of creating an online ecommerce store, then you’ve probably seen the exorbitant prices that web design firms charge for creating a customised ecommerce shopping cart system.
Well, the good news is that there are really powerful open-source (read: free) software available that can do a good job. That’s right - not just cheap, but really free. ZenCart’s a great example of a free ecommerce store - it’s a customised branch of the popular osCommerce shopping cart software. There are thousands of successful live ZenCart stores, so it’s a proven, reliable shopping cart - one of the best you can get for that price!
The only trouble you have when you’re dealing with open-source software like ZenCart is the fact that the default template’s really ugly - functional no doubt, but it really shouldn’t be used for your live ecommerce store.
So you will need templates - nice looking templates that lend your ecommerce store some measure of credibility, so that your potential customers will actually become your customers. Now if you’re interested, TemplateMonster has some really nice templates. Problem is, the templates cost around USD $150.
The alternative is free ZenCart templates. However, they aren’t that common, and they’re pretty hard to find. I’ve been sourcing around for free ZenCart templates, and I’ve put all the templates that I found into a list of free ZenCart templates below. Enjoy!
Free ZenCart Templates
- Apple Zen - Demo | Download
- Cherry Zen - Demo | Download
- Clean Business - Demo | Download
- Red Passion - Demo | Download
- Virtual Shop - Demo | Download
- Mihluna - Demo | Download
- Zencart Zen - Demo | Download
- Pretty in Pink - Demo | Download
- Acadame - Demo | Download
- Atheme- Demo | Download
- Clothing Shop - Demo | Download
- Darkness - Demo | Download
- Amplify - Demo | Download
- Free Yellow, Free Red, Free Blue - Demo | Download
Subscribe to my blog:
RSS reader
Email
Vbulletin Can’t Login - Solve the Login Problem
Some Vbulletin users and owners may have experienced that some users face a problem logging in, especially with Internet Explorer (IE).
Does your problem sound like this: When the user logs in, the page shows the “Thank you for logging in” message, then refreshes, and the user is shown that he is not yet logged in. No error message is shown.
Well, the following 3 steps may help in solving this Vbulletin log in problem:
- Close all open browser windows and clear all cookies. Then load your browser and try logging in again. If that does not help, continue with the next suggestions.
- Login to your Admin CP, click on “vBulletin Options” in the left frame, and then select “Cookies and HTTP Header Options”. Once there, make sure that your “Path to Save Cookies” setting is set to “/” (without the quotes). If it is not, change it to “/”, save your settings, close your browser, clear your cookies, and try logging in again. If that still does not help, continue to step #3.
- Go back to your Admin CP, click on “vBulletin Options” in the left frame, and select “Cookies and HTTP Header Options” again. Check your “Cookie Domain” setting and make sure it is set to “(blank)”. If it is not, change it to “(blank)”, save your settings, close your browser, clear your cookies, and try logging in again.
If that still does not help, or the setting is already set to “(blank)”, change the setting to “.yoursite.com” (note the 2 dots!). Save your settings, close your browser, clear your cookies, and then try logging in again.
Note: By changing your “Cookie Domain” setting, it is possible to lock yourself out of the Admin CP if this is changed to an incorrect value. If this happens, upload the tools.php script (located in the ‘do_not_upload’ folder of the vBulletin zip file) to your admincp directory. Load the file in your browser and select the option to reset the cookie domain and path back to the defaults.
Subscribe to my blog:
RSS reader
Email
11 Dec 07 | 


