![]() |
Custom Page parsing List BB's problem
Have a difficult time parsing List's using the vB_BbCodeParser function
PHP Code:
How do I fix this? |
I tried this test program and it seems to work:
Code:
<?php What do you do with $customText after it's set? |
I don't understand why I'm having such troubles then :(
--------------- Added [DATE]1347281300[/DATE] at [TIME]1347281300[/TIME] --------------- Quote:
I register it PHP Code:
PHP Code:
ugh. Maybe its working, but I just don't get the small bulletins that are suppose to appear.
It formats them to drop down over one another, but no bulletins. |
Have you looked to see what the html looks like?
|
Quote:
Code:
<li style="">Testing</li><li style="">Testing List 2</li><li style=""><font color="#ff0000"><b><u>Testing Color</u></b></font></li></ul><div style="text-align: center;"><b><font color="#333399">How to Join</font></b> |
Does it have <ul>...</ul> around it?
I'm thinking it's something to do with CSS (and I'm not really a CSS person). I was playing around with FireBug (it lets you see the CSS and change it to see what happens), and I notice there's a "list-style: disc outside" that comes from the vbulletin.css template, and if I remove it I get no bullets. |
Yes i'm pretty sure it's a css problem, maybe you have this code somewhere?
Code:
list-style-type: none |
nvm... I'll have to wait till I go home to try somethings with the CSS
|
Oh i just remembered that vbulletin does it by default you can try to wrap you variable (on the template with a div like this
HTML Code:
<div id="test">{vb:raw custommsg}</div> Code:
#test { |
Thing is, it's not evening indenting to the right or putting the bulletin.
I see nothing in the CSS's using firebug that has list-style-type: none. Only if I dig deep into the HTML (that I believe does not effect it) do I see that command. I also tired Scanu's css solution to no prevail. Though all that would do is change that to a bulletin, which didn't work. Even when I tried to force it on firebug. ------------------------------------------------------------------------- Something in the {vb:raw headinclude} is preventing me from using these bulletins. When removed it works as intended. But of course it messes up my display. |
All times are GMT. The time now is 05:55 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|