TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: magz on May 10, 2008, 03:26:46 AM

Title: Show Most Recent Polls to Guests
Post by: magz on May 10, 2008, 03:26:46 AM
Hi, I searched but zero results.  O0


I added Poll Block (Most Recent Polls) yesterday and its working fine  :up:
When logged out from forum, Poll doesn't show.

How can I show it to Guests (but not allowing them to vote)?
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 07:31:42 AM
I'm having to guess now that you are using TP 1.0.5 because you never mentioned it.
Please read the posting guide so we don't need to guess.

After some checking, this might be a bug. Under Guest Permissions is the option for Guests to view Polls.
This used to work in TP 0.9.8. I have the same on my site, the block is empty to guests.

Guests can view Polls in Topics.
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 07:41:20 AM
Added to the Bugtracker
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 10, 2008, 09:37:15 AM
Hi ZTN,

I read it, thanks for reminding me.

I am using TinyPortal 0.983. Other mods installed:
1.    SMF Gallery Lite    1.8.2    [ Uninstall ]
2.    TinyPortal    0.983    [ List Files ]
3.    ssi_boardNews Multiple Boards    1.0    [ Apply Mod ]
4.    YouTube BBCode    1.0    [ Apply Mod ] [ List Files ]
5.    YouTube BBCode    1.0    [ Apply Mod ] [ List Files ]
6.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ Uninstall ]
7.    SSI Topic and Replies    0.1    [ Apply Mod ] [ List Files ]
8.    YouTube BBC Tag (XHTML Compliant)    1.0    [ Apply Mod ]


Theme: BlackRain v2
forum (http://www.****.com)

Kindly teach me how to fix my problem pls?  :)
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 09:45:02 AM
Well thats odd because I'm using TP 1.0.5 and I am having that problem.

You need to check the Guest Permissions.

Admin > Members/Permissions > Guest/Modify > Polls/View polls [Y]


Can they view Polls in Topics?
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 10, 2008, 09:58:39 AM
I allowed guests to view Polls, I checked the box. But doesn't show them the Poll. They can view topics, but they can't see the poll block. Pls see my forum... Poll block is placed under Top 10 Posters.

Is this possibly a bug?






Edit:
This also happens in Gallery.
I allowed guests to view it,
but they can't.
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 10:06:41 AM
I'm begining to suspect that this may have happened after the upgrade from SMF 1.1.4 to 1.1.5.

It looks the same as on my site. At this time I am going to have to ask you to search or ask at SMF, and also check the change log for SMF 1.1.5.

I'm suspecting the SSI.php file has been changed.
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 10:15:43 AM
And please let us know the outcome from SMF, I use Polls at times and guests need to be able to view them.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 10, 2008, 10:20:18 AM
Yeah, I did some changes in my SSS.php file. Ok, I'll go to SMF forum. But I would really appreciate if anybody here could help snce  this is a TP concern   ::)

I'll be checkin this thread from time to time just in case I dont get any help from SMF...  :'(

Thanks a lot ZTN 

Quote from: ZTN on May 10, 2008, 10:15:43 AM
And please let us know the outcome from SMF, I use Polls at times and guests need to be able to view them.

Sure  :D
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 10:22:24 AM
It is a TP concern, that may have been caused by SMF. I'm not sure right now.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 10, 2008, 05:04:16 PM
update:

Quote from: ZTN on May 10, 2008, 10:15:43 AM
And please let us know the outcome from SMF, I use Polls at times and guests need to be able to view them.

SMF says...
Quote from: shadow82x on May 10, 2008, 04:46:07 PM
This is probaly a gallery bug as its not a default feature of SMF. Try asking in their support topic or at smfhacks.com.

;D
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 10, 2008, 05:05:54 PM
I don't have the Gallery installed. I still have a feeling that it's to do with the SSI.php file, but I may be wrong.
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on May 10, 2008, 05:17:24 PM
magz also make sure that the board that you have the poll in is accessible to guests, this will also change the outcome I believe
Title: Re: Show Most Recent Polls to Guests
Post by: JPDeni on May 10, 2008, 05:58:51 PM
Quotethis will also change the outcome I believe

Yes. the code checks to be sure that the user is able to see the board.

QuoteI'm begining to suspect that this may have happened after the upgrade from SMF 1.1.4 to 1.1.5.

I checked it with ExamDiff and there is a difference between the two versions. It has to do with the board ID, although I haven't looked at it closely enough to know why it would matter.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 11, 2008, 06:13:20 AM
Hello all!

Yes, board that I have the poll in is accessible to guests.

Pls see if I did the right thing in "Guest Permission"
POLL:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg128.imageshack.us%2Fimg128%2F1358%2Fpollqf5.jpg&hash=de7592d11c3c56000abdc1ae9adcf71ca8862ac8)

GALLERY:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg104.imageshack.us%2Fimg104%2F4395%2Fgalos3.jpg&hash=64f04d85728544c45d19082cc971b257d14f1343)

I have also attached a copy if my SSI.php file, pls check.
I love my forum so much... I am so worried.

As of this time, I have not gotten any reply from SMFhacks.... just to update you guys.


Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 11, 2008, 07:25:49 AM
I found a bug with this, last year and I was given a fix for it.

You can read about the SSI Poll bug here:
http://www.simplemachines.org/community/index.php?topic=207377.0


I don't know if any work was done to SSI.php for 1.1.5, I haven't had time to check.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 11, 2008, 10:15:03 AM
I tried all the codes given from the link you gave but no luck  :'(
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 11, 2008, 10:42:10 AM
There are changes to the SSI.php file in the 1.1.5 change log
http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-5_changelog.txt

If you open that text file and use the Find tool and search for SSI, you'll see the changes made.
I think it's a bug for SMF and until we can verify that, there isn't a lot we at TP can do because SMF need to correct it if it is a bug.
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 11, 2008, 11:52:45 AM
Quote from: magz on May 10, 2008, 05:04:16 PM
update:

Quote from: ZTN on May 10, 2008, 10:15:43 AM
And please let us know the outcome from SMF, I use Polls at times and guests need to be able to view them.

SMF says...
Quote from: shadow82x on May 10, 2008, 04:46:07 PM
This is probaly a gallery bug as its not a default feature of SMF. Try asking in their support topic or at smfhacks.com.

;D

magz, have you actually asked anywhere at SMF about this?

I don't see any posts from you at all:
http://www.simplemachines.org/community/index.php?action=profile;u=45347

Unless thats a different member?
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on May 11, 2008, 02:51:17 PM
Is allow guests to view polls in the permissions also checked?
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 11, 2008, 02:58:13 PM
If you look in the http://yoursite.com/ssi_examples.php you'll see an error around the Poll SSI example.

I think it might be related. And, yes, permissions are correct. they can view polls in topics, just not the block.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 11, 2008, 03:05:51 PM
Quote from: ZTN on May 11, 2008, 10:42:10 AM
http://download.simplemachines.org/index.php?thanks;filename=smf_1-1-5_changelog.txt
ZTN, that made me dizzy  :o  :'(

Quote from: ZTN on May 11, 2008, 11:52:45 AM
magz, have you actually asked anywhere at SMF about this?
I don't see any posts from you at all:
http://www.simplemachines.org/community/index.php?action=profile;u=45347
Unless thats a different member?

That account is not mine  :D

I posted it in Bug Report and somebody moved it HERE (http://www.simplemachines.org/community/index.php?topic=238586.msg1539341#new)

Quote from: ZTN on May 11, 2008, 02:58:13 PM
If you look in the http://yoursite.com/ssi_examples.php you'll see an error around the Poll SSI example.

I think it might be related. And, yes, permissions are correct. they can view polls in topics, just not the block.
Im sorry I dont understand this.

But I looked in it, its just my plain forum for guest ( poll and gallery missing).
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 11, 2008, 03:12:34 PM
I think you should have linked to this topic..
And explained the problem in more detail.

ssi_examples.php is installed with the forum software. Mines displaying this error:


Topic's Poll Function: <?php ssi_showPoll($topic); ?>


Database Error
Unknown column 'p.ID_BOARD' in 'field list'
File: /home/****/***/SSI.php
Line: 967

Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 12, 2008, 03:45:07 AM
Quote from: Lord Anubis on May 11, 2008, 02:51:17 PM
Is allow guests to view polls in the permissions also checked?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg128.imageshack.us%2Fimg128%2F1358%2Fpollqf5.jpg&hash=de7592d11c3c56000abdc1ae9adcf71ca8862ac8)
Yes.  :'(

Quote from: ZTN on May 11, 2008, 03:12:34 PM
I think you should have linked to this topic..
And explained the problem in more detail.
I'm expalaining my problem as much as I can even if Im not good in English  :'(
I've linked this topic to my post in simplemachines.org
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on May 12, 2008, 04:04:35 AM
Quote from: magz on May 12, 2008, 03:45:07 AM
Quote from: Lord Anubis on May 11, 2008, 02:51:17 PM
Is allow guests to view polls in the permissions also checked?
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg128.imageshack.us%2Fimg128%2F1358%2Fpollqf5.jpg&hash=de7592d11c3c56000abdc1ae9adcf71ca8862ac8)
Yes.  :'(

What you show there is the block permissions, I meant the general SMF permissions

http://www.yoursite.com/index.php?action=permissions
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 12, 2008, 04:44:15 AM
Hi Lord Anubis,

You mean the one encircled:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg263.imageshack.us%2Fimg263%2F2484%2Fprocessorpa4.jpg&hash=a2a7954bda4cce29cbbca04bc4475dc6fa4250af)
I didn't touch anything there  :uglystupid2:
Because I do not know how it works.

Pls educate me   :(
Title: Re: Show Most Recent Polls to Guests
Post by: G6Cad on May 12, 2008, 05:56:16 AM
The education can be found on www.simplemachines.org and their documentation.
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 12, 2008, 07:18:07 AM
Look, we are trying to establish what a problem is.. *cough*.

Not block view permissions. Guest Poll Permissions in Admin/Members Permissions.

Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 12, 2008, 01:09:55 PM
Thanks Admin, but thats not what I meant, sorry for the wrong word "educate"

anyways... I hope and pray this will be solved soon because im afraid my forum would break down

@ZTN: Thanks for the effort

:'(
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on May 12, 2008, 01:47:59 PM
Quote from: ZTN on May 12, 2008, 07:18:07 AM
Look, we are trying to establish what a problem is.. *cough*.

Not block view permissions. Guest Poll Permissions in Admin/Members Permissions.



Whatever, then...I know what the cough represents...I get the point I wont try to help out EVER again here
Title: Re: Show Most Recent Polls to Guests
Post by: Zetan on May 12, 2008, 02:38:32 PM
Quote from: Lord Anubis on May 12, 2008, 01:47:59 PM
Quote from: ZTN on May 12, 2008, 07:18:07 AM
Look, we are trying to establish what a problem is.. *cough*.

Not block view permissions. Guest Poll Permissions in Admin/Members Permissions.



Whatever, then...I know what the cough represents...I get the point I wont try to help out EVER again here

Taken totally the wrong way.
Title: Re: Show Most Recent Polls to Guests
Post by: IchBin on May 12, 2008, 02:52:21 PM
magz, just because something doesn't work the way it should, or the way you think it should does not mean your forum is going to break...

You need to go to admin > permissions > Click on guests > MAKE SURE guests are allowed to view polls is checked.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 13, 2008, 01:06:29 AM
IchBinâ,,¢ , now less worries, thanks.

I allowed guests to view polls but it is not showing.
Guests can only view like this:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg440.imageshack.us%2Fimg440%2F4138%2Fpollblockvl4.jpg&hash=cceaea86bdbb45c65007c1ad9dab48a9b26dc750)

Top Posters & Recent Topics are showing, not the poll  :'(


:DZTN and Lord Anubis, smile guys
Title: Re: Show Most Recent Polls to Guests
Post by: IchBin on May 13, 2008, 02:33:04 PM
Well, then that would mean its a bug in TP. You'll have to wait until the next release when hopefully Bloc will be able to fix it.

http://www.tinyportal.net/index.php?action=bugtracker;sa=bug309
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on May 13, 2008, 04:16:47 PM
You know what, I think there is big problem with polls since the upgrade from 1.1.4 to 1.1.5

I just created a new poll and added it to a block...If I try to vote using the block I get an internal server error  :uglystupid2:
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 14, 2008, 06:31:53 AM
Well, I am really confused. Maybe TP has a bug in it too.

But Lord Anubis & ZTN might be right also that it is all about upgrading SMF 114 to 115.
There are many bug reports in SMF community. I'll try to find the solution...

Thank you Guys,
I hope this will be solved soon.
Title: Re: Show Most Recent Polls to Guests
Post by: magz on May 15, 2008, 01:16:59 PM
This is MIRACLE.  ;D
I did not touch anything, now the GALLERY BLOCK shows.  :2funny:

I hope... Poll block next   :buck2: :2funny:
Title: Re: Show Most Recent Polls to Guests
Post by: magz on July 03, 2008, 02:34:56 AM
How is Poll Block doing? Is the bug fixed already?  :)
Title: Re: Show Most Recent Polls to Guests
Post by: Lord Anubis on July 03, 2008, 02:36:30 AM
not on my end :'(
Title: Re: Show Most Recent Polls to Guests
Post by: magz on July 03, 2008, 03:28:10 AM
lol    :tickedoff:  :2funny:

I hope they will be working on it soon   :'(
Title: Re: Show Most Recent Polls to Guests
Post by: Phil Serna on July 03, 2008, 04:27:03 AM
from the last time I've messed with it.. members and those who are on the forum can view, but once you vote... you can't view it.. this is from what i recall
Title: Re: Show Most Recent Polls to Guests
Post by: IchBin on July 03, 2008, 05:36:12 AM
Does this fix it?
http://www.tinyportal.net/index.php?topic=9623.0