View Full Version : Font Does Not Display For Poll
RogerBerke
06-24-2011, 07:45 PM
When I post poll, the text is not showing up even though it is there when I edit it. See image below. I must have changed something, somewhere. I cannot find what I did wrong. See image attached.
Lynne
06-24-2011, 10:02 PM
Is the text there only it is the same color as the background? Can we get a link to see this?
RogerBerke
06-24-2011, 10:25 PM
Thanks for the response.
That was my first thought also. I used mouse to select font, which will usually make same color font appear. That did not make the text show.
What is the variable name for font poll and I will check that.
I will gladly allow you access to the Forum, however I don't want to publish information in the open here on this forum.
Send me a personal email and I will get you setup. Or just join up and I will approve you for membership.
- Roger Berke -
Lynne
06-24-2011, 10:37 PM
Create a new style with no parent:
Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save
Then browse that thread using that totally default vbulletin style - do you still have the same problem?
RogerBerke
06-24-2011, 10:55 PM
No
I get the same result....
Lynne
06-25-2011, 01:48 AM
How about disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
RogerBerke
06-25-2011, 12:45 PM
Lynne
Disabling hooks did not make the poll test show up. I changed site back to original config.php
Anything else to try?
Thanks for your assistance.
- Roger -
--------------- Added 1309013890 at 1309013890 ---------------
Lynne
I also tried disabling the hooks, then setting up a new poll. Still did not work.
Thanks for your help.
- Roger -
Lynne
06-25-2011, 01:48 PM
Check your "poll" table - are the options showing up in the options field - what are the contents of that field? Is the field pollid set to auto_increment? How about a screen cap of the poll table (just a couple rows) and a screen cap of the poll table structure.
RogerBerke
06-25-2011, 02:05 PM
Lynne
I do not know where to find the poll table.
I am very new at this!
Thanks for your help
- Roger -
Lynne
06-25-2011, 02:31 PM
How do you access your database? Many users use phpMyAdmin and you can view the database there.
RogerBerke
06-25-2011, 02:42 PM
?? I have never accessed my data base.
I use Administrator control panel in vBulletin. I can also use FTP to access the server.
Sorry... I am just dumb hydronic heater repair person and certainly not a programer.
I can, however follow directions.
Thanks for your help.
- Roger -
Lynne
06-25-2011, 03:01 PM
Hmmm, firstly I would strongly suggest asking your host about database access. I'm not really sure what else I can do at this point. You could try to go to maintenance > repair/optimize database and do a repair/optimize on the poll tables and see if that fixes the issue.
RogerBerke
06-25-2011, 03:41 PM
Lynne
Thanks
I am sure there is a way, I have just not figured it out yet. I will post follow up, after I get access.
- Roger -
RogerBerke
06-25-2011, 08:46 PM
Lynne
Is this what your are looking for?
I did a repair/optimize on the poll tables. No change
Thanks for your help.
- Roger -
HMBeaty
06-25-2011, 09:00 PM
This is definately the most interesting bug I've seen posted so far lol
Try going to AdminCP > Maintenance > Diagnostics > Suspect File Versions > Submit
What does that tell you?
RogerBerke
06-25-2011, 09:16 PM
Everything appears normal except two entries shown below.
Thanks for your help.
- Roger -
Lynne
06-25-2011, 09:22 PM
Everything looks OK in your database. :/
As Brooks said, run Suspect File Versions and make sure all your files come out as default.
edit: whoops, posted after you. What version are you running and how long have you had this issue?
What is in the source code? It will be something like this:
<div id="polloptions" class="blockrow">
<ul class="checkradio group">
<li><label for="rb_optionnumber_1"><input type="radio" name="optionnumber" value="1" id="rb_optionnumber_1" tabindex="1" /> Yes</label></li>
<li><label for="rb_optionnumber_2"><input type="radio" name="optionnumber" value="2" id="rb_optionnumber_2" tabindex="1" /> NO</label></li>
</ul>
</div>
RogerBerke
06-25-2011, 10:07 PM
Lynne
Brand new forum setup June 17th, 2011. Version 4.1.4.
This is the first poll that I have setup.
I don't know where to look for the source code requested. A little help in locating it please.
I did a FTP search on my server. Several of the Poll.* PHP files are in two places. Is this correct?
Thanks for your help.
- Roger -
HMBeaty
06-25-2011, 11:23 PM
Lynne
Brand new forum setup June 17th, 2011. Version 4.1.4.
This is the first poll that I have setup.
I don't know where to look for the source code requested. A little help in locating it please.
I did a FTP search on my server. Several of the Poll.* PHP files are in two places. Is this correct?
Thanks for your help.
- Roger -
Have any of your poll templates been edited?
AdminCP > Styles & Templates > Style Manager > Edit Templates (in the dropdown menu for your style(s)) > Poll Templates
Check to see if any of those have been edited and/or need to be reverted
Lynne
06-25-2011, 11:30 PM
I don't know where to look for the source code requested. A little help in locating it please.
Source code is the html source for the page. In firefox, I can go to View > Page Source and get the code. Do that and then you can search on your question and find the area of the html we are interested in.
RogerBerke
06-26-2011, 12:06 AM
Lynne
I think this is what you are looking for. Thanks for your help
--------------------------------------------------------------------
<div id="pollinfo" class="polloptionsblock">
<form class="block" action="poll.php?do=pollvote&pollid=7" method="post">
<div class="blockhead">
<h2>Poll: <span class="polltitle">Another Test</span></h2>
<a class="textcontrol blockhead_info" href="poll.php?pollid=7&do=polledit"><img class="inlineimg" src="images/cms/edit_small.png" alt="Edit Poll" title="Edit Poll"/></a>
</div>
<div class="blockbody">
<h3 class="pollsubhead">
This poll will close on <strong>06-26-2011</strong> at <strong>07:55 AM</strong>
</h3>
<div id="polloptions" class="blockrow">
<ul class="checkradio group">
<li><label for="rb_optionnumber_1"><input type="radio" name="optionnumber" value="1" id="rb_optionnumber_1" tabindex="1" /> Yes</label></li>
<li><label for="rb_optionnumber_2"><input type="radio" name="optionnumber" value="2" id="rb_optionnumber_2" tabindex="1" /> No</label></li>
</ul>
</div>
</div>
<div class="blockfoot">
<div class="group">
<input type="submit" class="button" value="Vote Now" tabindex="1" />
<a class="textcontrol" href="poll.php?pollid=7&do=showresults">View Poll Results</a>
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="1309053327-2c75755909a90d793faf2f6b2240c2360cc6a533" />
<input type="hidden" name="do" value="pollvote" />
<input type="hidden" name="pollid" value="7" />
</div>
</div>
</form>
</div>
--------------- Added 1309054125 at 1309054125 ---------------
I checked. The only template that has been changed is the contactus.css template.
Thanks for helping.
- Roger -
Check to see if any of those have been edited and/or need to be reverted
Lynne
06-26-2011, 12:58 AM
Your page source clearly shows that the text is there.
<li><label for="rb_optionnumber_1"><input type="radio" name="optionnumber" value="1" id="rb_optionnumber_1" tabindex="1" /> Yes</label></li>
<li><label for="rb_optionnumber_2"><input type="radio" name="optionnumber" value="2" id="rb_optionnumber_2" tabindex="1" /> No</label></li>
You either have some css that is setting the display to none or your text is the same color as the background.
RogerBerke
06-26-2011, 01:26 AM
I fooled around until I got the background on the poll changed to a different color (variable is poll_background). I don't think that the font is the same color as the background.
Thanks for your help.
- Roger -
Lynne
06-26-2011, 02:09 AM
Then I would guess your CSS is setting the display to none or the font color is transparent. You can check that with firebug if you are familiar with it.
RogerBerke
06-26-2011, 01:48 PM
Lynne
I used Firebug to get a listing of CSS content from poll page that will not display correctly.
I could use a little help in interpreting the results. The text file is very big (runs 58 pages in Word), so I am not sure if I should post results here. Can I post it as a 'text' attachment?
Thanks for your help.
- Roger Berke -
Lynne
06-26-2011, 02:02 PM
A text file? I'm not sure what you are ending up with. firebug is something I only use in the browser - I get no text file to go with it.
Why don't you PM me a link/username so I can take a look.
RogerBerke
06-26-2011, 03:08 PM
Lynne
PM Sent!
I did a 'copy' and 'paste' for the results from the firebug window.
Thanks for your help.
- Roger -
Lynne
06-26-2011, 03:18 PM
I PMed you with what the problem was. You had set a font-size to 0, so the options were not showing.
RogerBerke
06-26-2011, 03:26 PM
Lynne
You are the BEST! FIXED!
Thanks for your help.
- Roger Berke -
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.