vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Forum Style - Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) (https://vborg.vbsupport.ru/showthread.php?t=249277)

thenamesgould 11-26-2011 11:06 AM

Ahh, hold on - noticed a couple more issues with that fix. The quoted text has a problem too ... a smiley in it appears like this:

PHP Code:

<img src="images/smilies/lol.gif" border="0" alt="" title="Laughing" smilieid="81" class="inlineimg" /> 

Rather than an actual image.

And if I go to edit the post then I get this:

PHP Code:

&lt;br /&gt;<br />
&
lt;br /&gt;<br />
<
br />
Test.<br />
<
br />
Test


dartho 11-26-2011 11:26 AM

Quote:

Originally Posted by thenamesgould (Post 2272081)
If I do this, then hit Reply ... the message that I'm replying to appears like this:

PHP Code:

<br />
<
br /> 


But on the upside, it does retain the line breaks when I do the post. So if those random <br />'s could be removed, I think that would solve my main problem with the style.

But it did not have this problem before making those chnages? If this is the case, try reverting the editor_clientscript template. For what its worth, I've never been able to reproduce the errant "<br />" problem, so I think it's a combination of factors causing it - makes it hard to pin down

hhumas 11-26-2011 12:53 PM

can i get this for vb 4.1.4

thenamesgould 11-26-2011 11:14 PM

Quote:

Originally Posted by dartho (Post 2272091)
But it did not have this problem before making those chnages? If this is the case, try reverting the editor_clientscript template. For what its worth, I've never been able to reproduce the errant "<br />" problem, so I think it's a combination of factors causing it - makes it hard to pin down

No, it's not an issue before those changes.

Just gave that a go and it didn't make any difference - the "<br />"s still appear.

tafreeh 11-28-2011 04:05 AM

Is there any way to prevent showing thread content text format ? ?

coz, in my forum ppl likes to use different color and bigger text that does not really looks good on this theme.. Is there any way not to show txt format and just to show simple text... ??

CILGINKRAL_ 11-29-2011 11:10 AM

vBulletin 4.1.8 version that is compatible?

Robru 11-29-2011 06:58 PM

When someone goes to the end of forum.php there's an error (after upgrade to 4.1.8). The birthday users are not displayed, you end up getting 'Array'.

Bounce 11-29-2011 09:35 PM

Quote:

Originally Posted by Robru (Post 2273117)
When someone goes to the end of forum.php there's an error (after upgrade to 4.1.8). The birthday users are not displayed, you end up getting 'Array'.

https://vborg.vbsupport.ru/showthrea...97#post2271597 worked for me :erm:

edit : sorry that was to sort pm's lol

dartho 11-29-2011 10:04 PM

Quote:

Originally Posted by thenamesgould (Post 2272080)
I'm also getting "Array" in place of the forum member's names whose birthday it is, at the bottom of the main home forum.

Edit the FORUMHOME template and search for the birthday block (Starts with <vb:if condition="$show['birthdays']"> and ends with teh next </vb:if>), remove it and replace with. You can then revert the forumhome_birthday_bit template (which should actually remove it as it is no longer used)

Code:

<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div class="navbar">{vb:rawphrase todays_birthdays}</div>
<div class="oldwindowbg">
        <img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />
        <vb:each from="birthdays" value="row">
                <a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}
        </vb:each>
</div>
<!-- end today's birthdays -->
</vb:if>


Robru 11-30-2011 08:24 AM

Quote:

Originally Posted by dartho (Post 2273172)
Edit the FORUMHOME template and search for the birthday block (Starts with <vb:if condition="$show['birthdays']"> and ends with teh next </vb:if>), remove it and replace with. You can then revert the forumhome_birthday_bit template (which should actually remove it as it is no longer used)

Code:

<vb:if condition="$show['birthdays']">
<!-- today's birthdays -->
<div class="navbar">{vb:rawphrase todays_birthdays}</div>
<div class="oldwindowbg">
        <img src="{vb:stylevar imgdir_misc}/birthday.png" alt="{vb:rawphrase todays_birthdays}" />
        <vb:each from="birthdays" value="row">
                <a href="{vb:link member, {vb:raw row}}">{vb:raw row.username}</a><vb:if condition="$row['age']"> ({vb:raw row.age})</vb:if>{vb:raw row.comma}
        </vb:each>
</div>
<!-- end today's birthdays -->
</vb:if>


Perfect! Works very good! :)


All times are GMT. The time now is 09:31 AM.

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.01602 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete