vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Styles (https://vborg.vbsupport.ru/forumdisplay.php?f=247)
-   -   Suite Style - Avenger Blue Style by TheLastSuperman (https://vborg.vbsupport.ru/showthread.php?t=269253)

pityocamptes 02-03-2015 01:07 AM

OK, updated the template. Thanks. However, now my blogs and articles tabs are giving me 404 errors.... not sure why...

OK, not the template fault, looks like a dbseo issue, contacted them...

-->>>OH, the reason the table td/tr issue was present is that I wanted the site logo to auto shrink with no matter how big the user makes the screen. Now, using the suggestion above, it no longer does that. Anyway to work around that??? Thanks.

sat-extreme 02-07-2015 07:39 AM

Hello I am looking for style vbulletin 4.2.3 beta suggestions please

pityocamptes 02-14-2015 06:07 PM

Quote:

Originally Posted by pityocamptes (Post 2535815)
OK, updated the template. Thanks. However, now my blogs and articles tabs are giving me 404 errors.... not sure why...


OK, not the template fault, looks like a dbseo issue, contacted them...



-->>>OH, the reason the table td/tr issue was present is that I wanted the site logo to auto shrink with no matter how big the user makes the screen. Now, using the suggestion above, it no longer does that. Anyway to work around that??? Thanks.



BUMP

albibak 02-18-2015 01:32 PM

I'll test it, thanks

TheLastSuperman 02-18-2015 06:57 PM

Quote:

Originally Posted by pityocamptes (Post 2535815)
OK, updated the template. Thanks. However, now my blogs and articles tabs are giving me 404 errors.... not sure why...


OK, not the template fault, looks like a dbseo issue, contacted them...



-->>>OH, the reason the table td/tr issue was present is that I wanted the site logo to auto shrink with no matter how big the user makes the screen. Now, using the suggestion above, it no longer does that. Anyway to work around that??? Thanks.

Quote:

Originally Posted by pityocamptes (Post 2537432)
BUMP

The css for the logo is located in additional.css near the top, there's two for this area one is the actual background and the other serves as a "cover" i.e. a transparent image that covers the logo to prevent straight -right-click save image etc.

In additional.css find (or similar, depending on if you're using fixed or fluid version):
Code:

.ablogo {
        min-width: 100% !important;
        min-height: 156px !important;
        background: transparent !important;
        overflow: hidden;
}

.abimage {
        background: url({vb:stylevar titleimage}) center center no-repeat !important;
        height: 155px !important;
}

Change to:
Code:

.ablogo {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        background: transparent !important;
        overflow: hidden;
}

.abimage {
        background: url({vb:stylevar titleimage}) center center no-repeat !important;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
}

So basically remove any references of width/height and add in:
Code:

        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;

*Not tested so let me know, might need to adjust/tinker to make it presentable :p.

TheLastSuperman 02-18-2015 08:42 PM

Quote:

Originally Posted by sat-extreme (Post 2536510)
Hello I am looking for style vbulletin 4.2.3 beta suggestions please

I would offer suggestions except I'm not tracking/keeping up with any 4.2.3 Beta styles therefor suggestions, I'm all out of :p. Soon as 4.2.3 is official i.e. out of Beta this will be upgraded for use with but not before then as I do not fabricate styles for Beta versions.

pityocamptes 02-19-2015 05:23 PM

Thanks, will check on the auto size code tonight. As far as the advanced search pop up, previously mentioned, what should I do? Thanks again.

TheLastSuperman 02-19-2015 05:58 PM

Quote:

Originally Posted by pityocamptes (Post 2534929)
Checking back on the popup .html box for advanced search issue... thanks

Quote:

Originally Posted by TheLastSuperman (Post 2534933)
Check the files on your server, in the same folder your vbulletin is running from, is there an empty index.html file present? It looks like from the pages source code, that this is being called by a plugin or was edited into the style (not in the version uploaded here though so i.e. you might have been hacked at some point in time, that's the only reason to include an invisible iframe usually but why is it being directed to include a 1kb blank.html file ? very odd imho).

This is found when I view the source code for your forum:
PHP Code:

    <iframe id="yui-history-iframe" src="clientscript/yui/history/assets/blank.html"
            
style="position:absolute;top:0; left:0;width:1px; height:1px;visibility:hidden;"></iframe>
    <
input id="yui-history-field" type="hidden" /> 

Makes no sense to link to an iframe in a 1kb file like that unless it was compromised but then the file size if it contained mal code should be larger than the original file size, which is the same 1kb so odd all around I'd say, can't tell anything specific unless I had access and I'm booked for the night working now and its close to 11pm here so no time to check regardless and not trying to scare you one bit simply saying this seems very odd and that you need to look into it to be safe.

I would replace default vBulletin files to be safe, check in the admincp using suspect file versions under maintenance after replacing them and also check for spare admin accounts. If anything looks odd file-wise then make a new thread in the vB4 forums and ask for feedback/assistance w/ the file names before deleting. *As always make a backup of database and files before removing anything.

Edit: Who is pasting <table and <TR <TD codes all over the place? STOP DAT lol its just an old outdated way to design web pages... it still works but not the standard, only use when absolutely required i.e. you're pulling your hair out because you can't find a way to make something display properly so you cheat and use a table (try not to!). Just one of many examples explaining more in detail - http://www.itegritygroup.com/css-vs-tables/ AND here is an example of how to do a three part fluid header instead of using a table to do the same in vBulletin - https://vborg.vbsupport.ru/showthread.php?t=228319 :cool:

Quote:

Originally Posted by pityocamptes (Post 2535804)
Lynn over at vbulletin.com indicated this:

"If you do a Search In Templates for part of the code, like "<iframe id="yui-history-iframe", you will see that it is part of the search_common template."

So I assume it is part of the vbulletin files...

Quote:

Originally Posted by pityocamptes (Post 2535806)
So if I delete the code above, am I going to have any issues?

Quote:

Originally Posted by pityocamptes (Post 2537986)
Thanks, will check on the auto size code tonight. As far as the advanced search pop up, previously mentioned, what should I do? Thanks again.

My brain is broken today already, like a jello pudding cup so head my words of advice with a grain of salt per say lol. I see Lynne gave you some info and I'm not about to doubt that simply going to say that I can't recall what page I was on when I viewed your source code so if on search and that is supposed to show then so be it but I don't recall that iframe code at all from all the times I've worked on styles so we're gonna try this:
  1. Open Notepad++ (Google + Download then use it to copy/paste/edit ALL code do not use Windows notepad/wordpad can cause issues depending on server type used).
  2. Open the template in question.
  3. Copy all the code, now paste into notepad++ in a new document, once pasted minimize notepad++
  4. Now back in your browser within the vBulletin template remove the iframe code, save the template.
  5. Check the style now, any issues still present regarding the popup?

By doing the above one of two things will happen and as such you should only act if its not fixed, if fixed then you're done, see below for outcomes.

- IF no issues are present, then that was it and its fixed.
- IF the issue is still present, delete all the code in the template and replace with the original template code you have sitting in notepad++ ;).

pityocamptes 02-20-2015 05:02 PM

Thanks will try it out late tonight. One more question. Is there a limit as to how many nav tabs you can have? I noticed on a mobile device that the tabs bunch up after the second row (nav tabs drop down to a second row on mobile device). Any way around this? Thanks.

TheLastSuperman 02-20-2015 07:00 PM

Quote:

Originally Posted by pityocamptes (Post 2538114)
Thanks will try it out late tonight. One more question. Is there a limit as to how many nav tabs you can have? I noticed on a mobile device that the tabs bunch up after the second row (nav tabs drop down to a second row on mobile device). Any way around this? Thanks.

Not sure if this will work on mobile or not but when you said they were bunching up it did come to mind :p.

https://vborg.vbsupport.ru/showthread.php?t=274972

^ See post #2 here in the Avenger Blue thread for info on how to adjust this style with the Navtabs v1 its about half way down in post 2.

Edit: I wanted to edit my post and clarify something though so you would know and any others who happen across this post wondering the same thing - there is and is not a limit to how many navbar tabs you can have however unless you use a mod like above it may become crowded as you noticed. This also can come into play (too many tabs so they bunch up) depending on the type of style you have fluid or fixed - in a fixed style its a set width so only so many tabs will fit in a horizontal fashion since the width is specifically set. In a fluid style it then depends on the users monitor resolution so if the style is set to display 80% width with 10% margin on each side that = 100% but is the user running a 1024x768 resolution on their pc OR are they running 1920x1080 on a 40" LCD tv like me? <-- All of those factors can change how it appears - the only time it will not change is if its a fixed width as you know how many and what to fit in then, and no matter if on a 1024x768 or 1920x1080 resolution the site will always be the fixed width and this is also why sometimes we must scroll on certain sites to see content, they were coded in a set size and why the scroll-bars popup on certain sites and others they do not (responsive style/them etc).


All times are GMT. The time now is 06: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
  • Page Generation 0.02270 seconds
  • Memory Usage 1,792KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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