Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Poll mod icons not appearing
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Cobia
Starting Member

United States
39 Posts

Posted - 25 September 2008 :  20:21:44  Show Profile
I have loaded and tested the poll mod. The mod works as designed on my site. After installing the mod icons, such as NEW POLL, VOTE and VIEW the icons are not showing up in the spaces beside the lables for the icons.

I installed the icons in my image folder, then my root folder, then my forum folder with the same results.

I did a search in the current and archived areas of snitz and no similar situation found. It may be my implementation of the code for the poll mod.

I have installed several mods, gatekeeper, classified, password, site intergration, rules, faq, avatar and now poll mod in this forum copy.

1. After installing the poll mod the first avatar in a topic disappeared, however all avatars below the first post in a topic appears as expected.

2. The poll's icons do not appear in the forum as expected.

Are the two problems related? I am going to search my forums code and find a solution, but if anyone has a suggestion for the polls icon problem I could use a little help.

Poll is turned on in the inshore fishing reports.

http://www.georgiatacklebox.com/forum/default.asp<

Edited by - Cobia on 25 September 2008 20:25:02

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 September 2008 :  20:32:38  Show Profile  Send ruirib a Yahoo! Message
Did you add the changes to inc_iconfiles.asp?<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Cobia
Starting Member

United States
39 Posts

Posted - 25 September 2008 :  20:54:09  Show Profile
Yes, I loaded one change to the inc_iconfiles
this is the section of code added. Is there more than one section of code for this file?

Const strIconUnsubscribe = "icon_unsubscribe.gif|15|15"
Const strIconUrl = "icon_url.gif|16|16"
Const strIconYahoo = "icon_yahoo.gif|16|15"
'#################### Poll Mod #####################
Const strViewComments = "view_comments.gif|108|16"
Const strViewResults = "view_results.gif|95|16"
Const strVoteNow = "vote_now.gif|72|16"
Const strIconPoll = "icon_poll.gif|15|15"
'###################################################
Const strIconAdobe = "icon_adobe.gif|16|16"
Const strIconElse = "icon_else.gif|16|16"
<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 September 2008 :  21:15:02  Show Profile  Send ruirib a Yahoo! Message
Can't really help with 2 without seeing the images missing in the forum... No forums seem to allow poll creation.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Cobia
Starting Member

United States
39 Posts

Posted - 25 September 2008 :  23:45:59  Show Profile
I did not turn on poll creation by all members, this is my fault. I have changed the access to create polls. however I am also reinstalling the poll mod code to each file as required, maybe this time it will work better for me.

under inshore fishing, if you will try it again use ID user: guest test pwd: testtest

As I update the files I am recieving other errors. But until I update the files I know I will have a problem.<

Edited by - Cobia on 25 September 2008 23:47:00
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 September 2008 :  06:58:54  Show Profile
For #1, post the link to a txt version of your topic.asp file.

For #2, the code is perfectly correct in the poll mod to display the icons. They should be in the same folder the rest of your forum icons are. No other place.

It's easy to figure out the problem for missing images. Can just check on the location that the browser is trying to find the image, in the html code. With Firefox you could easily right click, select View Page Info and click the Media tab. Scroll down until you see the Poll Mod icon listed and check if the location of the icon that it is looking for is correct.

With IE, can choose view source and search for the name of the icon in the html code (if you know the name of at least 1 of the poll mid icons), and check the location as well.<

Support Snitz Forums
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 26 September 2008 :  07:23:21  Show Profile
OK, you have placed all the Poll Mod iceons in the folder: http://www.georgiatacklebox.com/images/

They need to be placed in to the following folder: http://www.georgiatacklebox.com/forum/images/<

Cheers,

David Greening
Go to Top of Page

Cobia
Starting Member

United States
39 Posts

Posted - 26 September 2008 :  12:49:38  Show Profile
Davio, This is a link to my topic.asp in txt format.
http://www.georgiatacklebox.com/forum/topic.txt
We have a wedding to attend in Jamacia in November, so computers will be safe for the short time I am away. Davio, Jamacia is a beautiful place to live.

I followed the instructions by Classicmotorcycling and the results were good. I did infact put the icons in the wrong folder.
The icons are displayed as expected. The code is correct and will work if loaded in the proper fashion.

Thanks for the help on the icons, the whole look of the poll mod is better with the icons.
Now on to Snitzbitz to rate the mod. 5 stars plus<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 26 September 2008 :  18:57:51  Show Profile
quote:
Originally posted by Cobia

Davio, This is a link to my topic.asp in txt format.
http://www.georgiatacklebox.com/forum/topic.txt
On line 112 of your topic.asp file, you need to add the following code in red.

", M.M_TITLE, M.M_HOMEPAGE, M.MEMBER_ID, M.M_LEVEL, M.M_POSTS, M.M_COUNTRY, M.M_AVATAR_URL" & _

Then on line 148, uncomment that line by removing the ' from the beginning.

'Member_Avatar = rsTopic("M_AVATAR_URL")

The rest of your file looks ok.<

Support Snitz Forums
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2085 Posts

Posted - 26 September 2008 :  19:05:16  Show Profile
Glad I could help.
quote:
Originally posted by Cobia

I followed the instructions by Classicmotorcycling and the results were good. I did infact put the icons in the wrong folder.
The icons are displayed as expected. The code is correct and will work if loaded in the proper fashion.
I knew it had to be something simple, as Davio's mods have never let me down in the past and quite easy to install. <

Cheers,

David Greening
Go to Top of Page

Cobia
Starting Member

United States
39 Posts

Posted - 28 September 2008 :  06:15:27  Show Profile
i have to respond in all lower caps, because i fell so low. the code correction you gave me davio works just fine.

i did not pay attention to the changes in the code from the poll mod like i should have in the topics file. i cut and pasted that file with out comparing it with existing mods.

i only added a comment mark to the line 148 because of an error i had after adding the poll mod, but the error was from leaving out the correct code from line 112.

again it works great, thanks for the help.<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 28 September 2008 :  14:28:28  Show Profile
No prob. I understand why you commented it out. Just have to be more careful next time when different mods edit the same section of code. If it's just 1 line of code, can do a comparison and merge the code changes for both mods.

In this case, the poll mod code removed the changes made by the avatar mod and there the problem started.<

Support Snitz Forums
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.9 seconds. Powered By: Snitz Forums 2000 Version 3.4.07