TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,020
  • Total Topics: 21,332
  • Online today: 1,149
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 675
  • Total: 675

Need help with adding a poll block

Started by Megaforum, May 19, 2007, 10:19:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dragooon

I used this thread
http://www.tinyportal.net/index.php?topic=9623.0
And
http://www.tinyportal.net/index.php?topic=9869.0
But wasent able to understand what to do.Sorry if it has been answered but I am unable to understand what to do to add a block for poll.
Can anyon give me a step by step guide what to do???????

Thurnok

These posts involve editing php files on your server.  These php files are part of the SMF program.  If you are not comfortable editing php files, you will not be able to perform this function.

I will make this into a mod so that you can simply add it via the SMF package manager, but don't look for it anytime soon as I'm pretty tied up with work related issues for a few weeks.  If I can squeeze it in I will, but no promises.
Thurnok
The one, the only!

Dragooon

ok I tried what you said and it worked almost as I wanted it is just that it is breaking the bars lol.And I tried your solution of fixing it but still failed

Dragooon

I tried everything works fine on my test forum but on my main forum it says Page cannot be displayed when voted

Thurnok

For your bars issue, make sure you updated both references.  There was actually 2 places to change bar lengths.. hence why I mentioned to update all references:
Quote from: Thurnok on October 21, 2006, 07:21:13 AM
Edit SSI.php
[FIND ALL OCCURRANCES]
$barWide = $bar == 0 ? 1 : floor(($bar * 5) / 3);

You probably just did the first occurance.  If you actually did do both, then I'm not sure why your bars are breaking the block.  Best bet is to restore your backup file (you did make a backup I hope before starting the whole process), and try going through the process again carefully.

Don't know about your second issue.  I can only assume something was missed, or misplaced during your editing.  Again, you might need to restore your backed up file, and go through the process again.
Thurnok
The one, the only!

Dragooon

#5
I tried that what I did was I used my SSI.php on my test forums and replaced it with the main one and still failed.
And ya should the address be something like:
www.mysite.com/SSI.php?action=pollvote
It was something like that
EDIT:
It was http://www.mysite.com/SSI.php?ssi_function=pollVote

Dragooon

It is finally solved.It was caused due to Flash Chat integration v1.0 so I removed it and changed to v0.1 and it worked lol

Thurnok

Ah.. hehe.. well, glad you got it worked out... cause I couldn't reproduce it so wasn't sure what to tell you next. LOL
Thurnok
The one, the only!

This website is proudly hosted on Crocweb Cloud Website Hosting.