vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Font Does Not Display For Poll (https://vborg.vbsupport.ru/showthread.php?t=265762)

RogerBerke 06-24-2011 07:45 PM

Font Does Not Display For Poll
 
1 Attachment(s)
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

1 Attachment(s)
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

PHP Code:

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 [DATE]1309013890[/DATE] at [TIME]1309013890[/TIME] ---------------

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

1 Attachment(s)
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

1 Attachment(s)
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:
HTML Code:

<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

1 Attachment(s)
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

Quote:

Originally Posted by RogerBerke (Post 2212812)
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

Quote:

Originally Posted by RogerBerke (Post 2212812)
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
--------------------------------------------------------------------


Quote:

<div id="pollinfo" class="polloptionsblock">
<form class="block" action="poll.php?do=pollvote&amp;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&amp;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&amp;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 [DATE]1309054125[/DATE] at [TIME]1309054125[/TIME] ---------------

I checked. The only template that has been changed is the contactus.css template.

Thanks for helping.

- Roger -


Quote:

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.
Code:

<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

1 Attachment(s)
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 -


All times are GMT. The time now is 05:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03508 seconds
  • Memory Usage 1,806KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (29)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete