Previous Thread
Next Thread
Print Thread
Rate Thread
#176585 08/15/2002 7:40 AM
Joined: Aug 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 8
I came here last month for help with my UBB (v 6.04f) and received prompt and excellent help. I'm hoping someone can help me now, too.

When an administrator tries to make a new style template for a forum, we encounter an error in the Control Panel:

"Error: Cannot find UBBPoll"

Upon further examination, we have discovered that the poll feature was added to only three templates by our previous administrator (the three templates he made all have an option for you to change the graphic that says "post a poll"). Thus, when we try to make a new template, we do not have the ability to change this "post a new poll" graphic and so we get the aforementioned error. We can only have the three original templates he made as a result.

So I ask, can this error be fixed? If not, we would like to remove the "poll" feature from the entire UBB. Is that possible? Do you have any suggestions as to what we should do?

Thanks again.

Sponsored Links
Joined: Nov 2001
Posts: 1,703
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,703
If you don't use UBBPoll, I'd suggest removing it, then. The easiest way to do it is to go back through the installation instructions, but replace "Add after" with "Delete", "Delete" with "Add", and swap round any "Replace with" instructions.

If anyone can think of a better way (which probably does exist and is known to everyone but me), please tell me to shut up. wink

Joined: Aug 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 8
Sadly, I have idea what you're talking about. smile

I kind of inherited this UBB and am not familiar with modifying things or working with the code. Could you explain how one should do this, or should I wait for a more simplistic explanation, like you seem to have suggested?

Thank you, though.

Joined: Aug 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 8
Is there any way in the Control Panel to remove the polls?

Joined: Nov 2001
Posts: 1,703
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,703
I don't think there's any way to remove the polls from the CP...

I'd wait for an easier-to-understand answer... Hopefully one of the better developers finds this and helps; if they don't, I'll PM one... Sorry I couldn't help. frown

Sponsored Links
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
What do you mean? As in remove the poll option in the dropdown in the CP?

Joined: Aug 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 8
Is there anyway to remove the poll feature without editing the files? Can I simply remove certain CGI files?

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
No. You would have to go back and take out all the code.

Joined: Aug 2002
Posts: 8
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 8
Okay, thank you very much.

Joined: Oct 2000
Posts: 7
Mir Offline
Junior Member
Junior Member
Offline
Joined: Oct 2000
Posts: 7
I had this problem on my board few months and I think I was missing some code in cp_add_new_template.pl

Code
  &RegField (qq!Post New Poll Graphic
<IMG SRC="$vars_config{NonCGIURL}/$vars_style{BBPoll}" BORDER=0>

!, "BBPoll", "", "30", "60", "", "$vars_style{BBPoll}");

Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,156
Joined: July 2001
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2063
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 1
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)