• Hi, I am able to integrate WP-United into my theme nicely with Prosilver. However Subsilver2 doesn’t even though I went through all the mod carefully. Here’s what my page looks like with Theme Integration enabled and Automatic CSS Integration on Medium. My wordpress page template for this page is 100% width, no sidebars. I verified it when using Prosilver. This is really puzzling me. Can someone help me please?

    http://docfgolf.com/forum/index.php

    https://wordpress.org/plugins/wp-united/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello newbye,

    Very interesting issue… And it’s perhaps related to <table>s tags. Prosilver based on <div>s and all is fine, but subsilver uses <table>s and got style="width:100px;
    You are not the only one with this issue.

    Thread Starter newbye

    (@newbye)

    Thanks nata-lee. I appreciate the feedback. I did read about that when I was googling the difference between Prosilver and Subsilver2. Though I’m not proficient enough to know what to do with it.

    The author had some files and manual for Subsilver2 in the mod, so I thought it was working for everyone else except me! Nice to know I’m not alone on this. 🙂

    I did try setting Automatic CSS Integration to OFF, and the tables of the forum were at least aligned, though narrower. Also fonts look bigger and unfocused. Maybe I could try turning off CSS integration and doing it myself (yikes!). In which files would I do this? I was hoping I can compare CSS files with Auto CSS on medium and off mode, then I can slowly transfer the properties I want.

    I inverstigated ang now guess you need to do something with 239-248 lines of /wp-united/functions-css-magic.php. But it is just a supposition, I didn’t check it.
    I guess these lines read <table width=”100%”> and add style=”width:100px;”. The code replace % with px and this is a problem (as I suppose).
    So you can try to do some tricks:
    1. Change the subsilver template and replace all subsilver tables styles width=”100%” with style=”width:100%;”, for example:
    <table class="tablebg" cellspacing="1" width="100%"> with <table class="tablebg" cellspacing="1" style="width:100%;">
    2. Deep think about the exclusion of width=100% from the regexp ((<[^>]+\b)(?=width\s?=\s?[\'"]?\s?([0-9]+)\s?[\'"]?)([^>]*?))(\/?\s*>)

    I think the first way is much easier to check and to implement.

    And here is the same problem, not with subsilver but with tables
    http://wordpress.org/support/topic/integration-issue

    Thread Starter newbye

    (@newbye)

    The first option is something I can do, though there’s gonna be a huge bunch of files to edit. I tried a few like forumbody_list.html and index_body.html but nothing’s changed so far. I was hoping to see some changes. Will keep trying to modify slowly.

    The second one dealing with regexp is out of my league. I just see calligraphy symbols one after another!

    well, did you clear the cache? The template cache of phpbb, general cache of phpbb and the cache of the wp-united? Now it looks like you didn’t change anything.

    For example one table, the first after the menubar:

    <div id="menubar">
    		<table width="100%" cellspacing="0" style="width:100px;">
    		<tbody><tr>
    			<td class="genmed">
    				<a href="./ucp.php?mode=login&sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_login.gif" width="12" height="13" alt="*" style="height:13px;;width:12px;"> Login</a>&nbsp;
    			</td>
    			<td class="genmed" align="right">
    <a href="http://docfgolf.com/?sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_profile.gif" width="12" height="13" alt="WordPress Blog" style="height:13px;;width:12px;">WordPress Blog </a>&nbsp;
    				<a href="./faq.php?sid=856ce32133f6ef9c4a848882c36430c6"><img src="./styles/subsilver2/theme/images/icon_mini_faq.gif" width="12" height="13" alt="*" style="height:13px;;width:12px;"> FAQ</a>
    
    			</td>
    		</tr>
    		</tbody></table>
    	</div>
    Thread Starter newbye

    (@newbye)

    whoa…. i just deleted the content of phpbb’s cache folder and I see some changes now!! gosh thanks nata-lee, there is still hope for me!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Subsilver2’ is closed to new replies.