Support Forums

Old 02-01-2008, 01:55 AM   #1
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default Regarding Rating Module...and other questions...

Hey, first I'd like to thank you guys for the help you've given me already. Ok, so I installed the Rating module, however I was wondering something. Is there anyway to have a visual representation of how many starts each user gave the listing? I'm not too familiar with smarty code so I wasn't sure what to do there. So what would be required of me if I wanted to design a small image and have it represent that "stars"? Thanks in advance for your help.

Last edited by nomadant; 02-01-2008 at 03:29 PM.
nomadant is offline   Reply With Quote
Old 02-01-2008, 02:17 PM   #2
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default

Also, was wondering if there are any other modules online aside from the three sites 68classifieds supports? And how do I include music on one of the pages, I tried this code but it doesn't take:

HTML Code:
<embed src="soundfile.mid" hidden="false" border="0" width="310" height="45" autostart="true" autoplay="true" loop="true" volume="75%">

Last edited by nomadant; 02-01-2008 at 03:29 PM.
nomadant is offline   Reply With Quote
Old 02-01-2008, 10:40 PM   #3
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default

Any answers?
nomadant is offline   Reply With Quote
Old 02-01-2008, 10:44 PM   #4
Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,285
Rep Power: 37
Mike-N-Tosh is just really niceMike-N-Tosh is just really nice
Default

Did you input that in from the admin edit page content? If you did, then it probably got stripped out.
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0.9, 4.1
Templates, Mods & Docs for sale | My blog with much content for 68 Classifieds.
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 02-01-2008, 10:48 PM   #5
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default

Quote:
Originally Posted by Mike-N-Tosh View Post
Did you input that in from the admin edit page content? If you did, then it probably got stripped out.
Yeah, I did do that. The other pages are encoded when I try to put that in with dreamweaver. What can I do?
nomadant is offline   Reply With Quote
Old 02-04-2008, 04:43 PM   #6
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109
Eric Barnes is a jewel in the rough
Default

You should be able to just edit the template file and add it that way.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 02-04-2008, 04:48 PM   #7
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default

Which template file? I would only want it on one page, the about me page. Also, what about the other questions?
nomadant is offline   Reply With Quote
Old 02-04-2008, 05:11 PM   #8
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109
Eric Barnes is a jewel in the rough
Default

The template file is content.tpl.php. Just add something like this:
Code:
{if $smarty.GET.page==3}
sound file code goes inside here.....
{/if}
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 02-04-2008, 05:15 PM   #9
Junior Member
 
Join Date: Jan 2008
Posts: 26
Rep Power: 5
nomadant is on a distinguished road
Default

Ok, I did this and got this error:

Fatal error: Smarty error: [in content.tpl.php line 2]: syntax error: $smarty.GET is an unknown reference (Smarty_Compiler.class.php, line 2115) in /home/jusfouhi/public_html/includes/classes/smarty/Smarty.class.php on line 1095

Do I have to enter it anywhere specifically in that file?
nomadant is offline   Reply With Quote
Old 02-04-2008, 05:22 PM   #10
68 Classifieds Staff
 
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,703
Rep Power: 109
Eric Barnes is a jewel in the rough
Default

Try lowercase:
{if $smarty.get.page == 3}

http://www.smarty.net/manual/en/lang...les.smarty.php
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modification: Rating Module Eric Barnes v3.1 Modules & Modifications 13 02-28-2008 11:19 PM
Rating module... pschievink v3.1 Questions & Support 0 06-02-2007 06:27 AM
Rating Module alisa v3.1 Modules & Modifications 9 04-19-2007 10:00 AM


All times are GMT -4. The time now is 08:52 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0