Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 10 Sep 2012, 13:23
extends extends is offline
 
Join Date: Jul 2012
Question Custom Page parsing List BB's problem

Have a difficult time parsing List's using the vB_BbCodeParser function


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The problem is, is that everything works (bold, underline, center etc) except the List.

How do I fix this?
Reply With Quote
  #2  
Old 10 Sep 2012, 13:40
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I tried this test program and it seems to work:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


What do you do with $customText after it's set?

Last edited by kh99; 10 Sep 2012 at 13:44. Reason: changed code to match yours more closely
Reply With Quote
  #3  
Old 10 Sep 2012, 13:43
extends extends is offline
 
Join Date: Jul 2012
I don't understand why I'm having such troubles then

--------------- Added 10 Sep 2012 at 13:48 ---------------

Originally Posted by kh99 View Post
What do you do with $customText after it's set?

I register it

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

then I display it in the template


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I even tried to echo it, still does not work.

ugh. Maybe its working, but I just don't get the small bulletins that are suppose to appear.
  • <-Like these
  • <-one's
  • <-here

It formats them to drop down over one another, but no bulletins.

Last edited by extends; 10 Sep 2012 at 13:53. Reason: added some more details
Reply With Quote
  #4  
Old 10 Sep 2012, 14:03
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Have you looked to see what the html looks like?
Reply With Quote
  #5  
Old 10 Sep 2012, 14:08
extends extends is offline
 
Join Date: Jul 2012
Originally Posted by kh99 View Post
Have you looked to see what the html looks like?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #6  
Old 10 Sep 2012, 14:13
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
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.
Reply With Quote
  #7  
Old 10 Sep 2012, 14:44
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
Yes i'm pretty sure it's a css problem, maybe you have this code somewhere?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #8  
Old 10 Sep 2012, 16:15
extends extends is offline
 
Join Date: Jul 2012
nvm... I'll have to wait till I go home to try somethings with the CSS

Last edited by extends; 10 Sep 2012 at 16:18. Reason: removed past question
Reply With Quote
  #9  
Old 10 Sep 2012, 16:53
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And then add this css code

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #10  
Old 11 Sep 2012, 02:29
extends extends is offline
 
Join Date: Jul 2012
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.

Last edited by extends; 11 Sep 2012 at 03:18. Reason: Found something preventing this.
Reply With Quote
  #11  
Old 11 Sep 2012, 10:38
Scanu's Avatar
Scanu Scanu is offline
 
Join Date: Nov 2010

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can try this it should overwrite vbulletin's css
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:03.

Layout Options | Width: Wide Color: