vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - ThreadNav: scrolling New Posts navigation bar for Showthread (https://vborg.vbsupport.ru/showthread.php?t=273500)

nerbert 11-07-2011 06:21 PM

Okay so all the vbseo problems are resolved (???) I really have to get some other work done but I'll have an improved xml file up soon.

And ellinofatsa, as soon as I get the file fixed I'll address your problem.

Nacho Vidal 11-07-2011 06:28 PM

Great job nerbert! Things seem sorted here, cheers!

Erica1977 11-07-2011 07:41 PM

Quote:

Originally Posted by nerbert (Post 2265449)
Okay so all the vbseo problems are resolved (???) I really have to get some other work done but I'll have an improved xml file up soon.

And ellinofatsa, as soon as I get the file fixed I'll address your problem.

Yes it's working so far haven't found no issues , just a note certain custom styles will not look right thought so maybe a fix on that part but everything else seems to work great job!:up:

nerbert 11-07-2011 08:19 PM

I have the new xml file available. I suggest everyone upload the new one and overwrite the old version. If you have changed any templates be sure to revert them.

If you need to add space above or below ThreadNav please see the note at the top of the "threadnav.css" template

nerbert 11-07-2011 08:36 PM

Quote:

Originally Posted by ellinofatsa (Post 2265366)
i have isntal it but problem with greek language

Sorry I didn't respond earlier. When you brought up this issue I remembered I hadn't made put all the text into phrases and I wanted to fix the vBSEO problem before modifying the file.

So, first upload the new xml file and set it to overwrite the original. Now go to Search In Phrases.

Search for Text: TN_

Phrase Type: GLOBAL

Search in ... Phrase Variable Name Only

You'll get a list of all the text in ThreadNav. Beyond that I really don't know what to do, I have only English on my site and the only Greek I know is

I η hotdog for lunch.

nerbert 11-07-2011 09:42 PM

Erica1977, try this and if it works I'll update the file.

Use this code
PHP Code:

                                cells[i].childNodes[1].style.width=''+(width+12)+'px';
                                
cells[i].childNodes[3].style.width=''+(width+12)+'px'

to modify the lower part of function setWidth() to look like this:

PHP Code:

    function setWidth() {
        for(
i=0i<cells.lengthi++) {
            if(
is_ie) {
                
cells[i].childNodes[0].childNodes[0].style.width=''+width+'px';
                
cells[i].childNodes[0].childNodes[1].style.width=''+width+'px';
                
cells[i].childNodes[1].childNodes[1].style.width=''+width+'px'
                
cells[i].childNodes[2].style.width=''+(width+47)+'px';
            }
            else {
                 
cells[i].childNodes[1].style.width=''+(width+12)+'px';
                 
cells[i].childNodes[3].style.width=''+(width+12)+'px';
                
//cells[i].childNodes[1].childNodes[1].style.width=''+width+'px';
                //cells[i].childNodes[1].childNodes[3].style.width=''+width+'px';
                //cells[i].childNodes[3].childNodes[1].style.width=''+width+'px'
                
cells[i].childNodes[5].style.width=''+(width+47)+'px';
            }
        }
    } 

You must view in a non-IE browser

Erica1977 11-07-2011 10:13 PM

Quote:

Originally Posted by nerbert (Post 2265498)
Erica1977, try this and if it works I'll update the file.

Use this code
PHP Code:

                                cells[i].childNodes[1].style.width=''+(width+12)+'px';
                                
cells[i].childNodes[3].style.width=''+(width+12)+'px'

to modify the lower part of function setWidth() to look like this:

PHP Code:

    function setWidth() {
        for(
i=0i<cells.lengthi++) {
            if(
is_ie) {
                
cells[i].childNodes[0].childNodes[0].style.width=''+width+'px';
                
cells[i].childNodes[0].childNodes[1].style.width=''+width+'px';
                
cells[i].childNodes[1].childNodes[1].style.width=''+width+'px'
                
cells[i].childNodes[2].style.width=''+(width+47)+'px';
            }
            else {
                 
cells[i].childNodes[1].style.width=''+(width+12)+'px';
                 
cells[i].childNodes[3].style.width=''+(width+12)+'px';
                
//cells[i].childNodes[1].childNodes[1].style.width=''+width+'px';
                //cells[i].childNodes[1].childNodes[3].style.width=''+width+'px';
                //cells[i].childNodes[3].childNodes[1].style.width=''+width+'px'
                
cells[i].childNodes[5].style.width=''+(width+47)+'px';
            }
        }
    } 

You must view in a non-IE browser

no i use f,f but still doesnt work i just dont get it thanks for trying to help.

nerbert 11-07-2011 10:26 PM

I'll keep trying. I've never been happy with that complicated method for setting the width. The problem is that for some reason I can't specify the width of table cells, perhaps because the table is about 10 000 px wide.

I do want this to work for everyone.

FReeSTER 11-07-2011 11:24 PM

I havent installed this but i have to say WoW for the great MOD and for the support you giving to it.

I will try later as all the bugs are fix :)

venom2124 11-08-2011 03:20 AM

Looks like a cool mod. Thanks

rafiul 11-08-2011 09:56 AM

How to show hand cursor instead of arrow cursor when mouse on the Title?

Erica1977 11-08-2011 01:47 PM

Quote:

Originally Posted by nerbert (Post 2265506)
I'll keep trying. I've never been happy with that complicated method for setting the width. The problem is that for some reason I can't specify the width of table cells, perhaps because the table is about 10 000 px wide.

I do want this to work for everyone.

For now i turn it off till you can find a solution for other styles Thanks!:up:

nerbert 11-08-2011 02:12 PM

I have a new version operational in every browser except despicable IE. Working on it.

nerbert 11-08-2011 05:40 PM

1 Attachment(s)
Erica1977, See if this new file solves your problem. If it does I'll edit the opening post. I want to be sure this does it so I'm not changing the file a dozen times before getting it right.

Erica1977 11-08-2011 05:53 PM

1 Attachment(s)
Quote:

Originally Posted by nerbert (Post 2265761)
Erica1977, See if this new file solves your problem. If it does I'll edit the opening post. I want to be sure this does it so I'm not changing the file a dozen times before getting it right.

Sorry tryed it and still same issue see the first picture on btech see how it looks and see the second picture on seamus red looks correct on seamus red and in default style looks just like seamus red .

Attachment 134316

Attachment 134317

nerbert 11-08-2011 06:09 PM

I checked and you still have the old file on btech red. You either didn't overwrite when you uploaded or you have to revert the templates for that style.

EDIT: seamus doesn't have the new file either.

Erica1977 11-08-2011 06:47 PM

Quote:

Originally Posted by nerbert (Post 2265769)
I checked and you still have the old file on btech red. You either didn't overwrite when you uploaded or you have to revert the templates for that style.

EDIT: seamus doesn't have the new file either.

i did override it and then i reinstall it over as well those pic is from that.

nerbert 11-08-2011 06:59 PM

Then you have to check that you reverted your templates. I looked at the page source code and the old templates were still there.

Erica1977 11-08-2011 07:18 PM

Quote:

Originally Posted by nerbert (Post 2265785)
Then you have to check that you reverted your templates. I looked at the page source code and the old templates were still there.

Ok check now.

nerbert 11-08-2011 07:35 PM

Still the old ones.

Go through your templates in all styles starting with default and check threadnav.css, threadnav and threadnav_bit. Any one that's red needs to be reverted

Erica1977 11-08-2011 07:41 PM

Quote:

Originally Posted by nerbert (Post 2265792)
Still the old ones.

Go through your templates in all styles starting with default and check threadnav.css, threadnav and threadnav_bit. Any one that's red needs to be reverted

Ok this is what i did i unstalled your product now theres no templates of your product then i installed the one you just made for me so there really aint no templates to revert see where i am getting at.

Erica1977 11-08-2011 07:43 PM

Quote:

Originally Posted by Erica1977 (Post 2265794)
Ok this is what i did i unstalled your product now theres no templates of your product then i installed the one you just made for me so there really aint no templates to revert see where i am getting at.

Sorry that your going threw this trouble just for me and i do thank you for still trying to get it to work for those other styles.:up:

nerbert 11-08-2011 11:23 PM

You have it off now so I can't check but after you uploaded the new file I checked and seamus had the unedited old file and btech had the edited version. I don't know what happens to templates when you uninstall -- whether they are actually deleted or just de-listed from the adminCP. Anyway right after you installed the new file the old templates were still there.

When you update you don't need to uninstall the old version just click the button to overwrite files in the upload box and everything should update. Then check templates afterwards and they should all have black titles

nerbert 11-08-2011 11:33 PM

In threadnav template, function setWidth() should look like this in all styles

Code:

        function setWidth() {
                var n=list.innerHTML.match(/<td>|<td class="blank">/gi).length;
                var tableWidth=(width)*n;
                fetch_object('table').style.width=''+tableWidth+'px';
                for(i=0; i<cells.length; i++) {
                        cells[i].style.width=''+(width)+'px'
                }
        }

But there are various other differences as well.

Erica1977 11-08-2011 11:47 PM

Quote:

Originally Posted by nerbert (Post 2265845)
In threadnav template, function setWidth() should look like this in all styles

Code:

        function setWidth() {
                var n=list.innerHTML.match(/<td>|<td class="blank">/gi).length;
                var tableWidth=(width)*n;
                fetch_object('table').style.width=''+tableWidth+'px';
                for(i=0; i<cells.length; i++) {
                        cells[i].style.width=''+(width)+'px'
                }
        }

But there are various other differences as well.

turn it on and override it.

Erica1977 11-08-2011 11:52 PM

with the one you made for me all templates show this code.

Code:

function setWidth() {
                for(i=0; i<cells.length; i++) {
                        if(cells[i].childNodes.length<5) {
                                cells[i].childNodes[0].childNodes[0].style.width=''+width+'px';
                                cells[i].childNodes[0].childNodes[1].style.width=''+width+'px';
                                cells[i].childNodes[1].childNodes[1].style.width=''+width+'px'
                                cells[i].childNodes[2].style.width=''+(width+47)+'px';
                        }
                        else {
                                cells[i].childNodes[1].childNodes[1].style.width=''+width+'px';
                                cells[i].childNodes[1].childNodes[3].style.width=''+width+'px';
                                cells[i].childNodes[3].childNodes[1].style.width=''+width+'px'
                                cells[i].childNodes[5].style.width=''+(width+47)+'px';
                        }
                }
        }

and i overrided it

nerbert 11-09-2011 12:29 AM

1 Attachment(s)
You must have gotten that from the opening post. The one I wanted you to test was in the latter post (#54, I think)

But never mind, here's a version with a few nit-picking details changed.

Erica1977 11-09-2011 12:44 AM

lol ok overrided with this one and all templates have diff codes i think you need to go to my site and please look at each style and watch what happens.

Erica1977 11-09-2011 01:33 AM

Quote:

Originally Posted by Erica1977 (Post 2265855)
lol ok overrided with this one and all templates have diff codes i think you need to go to my site and please look at each style and watch what happens.

ok sorry ill turn back on

Erica1977 11-09-2011 01:34 AM

Quote:

Originally Posted by Erica1977 (Post 2265867)
ok sorry ill turn back on

ok i turn it on go look at all the styles please.

nerbert 11-09-2011 01:35 AM

It's off now so I can't see the source code.

You do know how to revert a template?

If the template title is red, single click it and then click the Revert button off to the left. It will ask you to confirm, click yes.

If the title is now orange you need to revert the template at a higher level. The templates from the product file are in MASTER STYLE, which is accessible only in debug mode. You shouldn't need to touch them unless you are creating your own product.

Erica1977 11-09-2011 01:52 AM

reverted red btech and the rest are white no need to revert but still all styles look different seen the purple uo one

nerbert 11-09-2011 01:56 AM

Still the old template in btech red. I see it's the unedited version. You probably need to revert default style now.

Erica1977 11-09-2011 02:12 AM

ok i hit revert where it says control when click the orange color so not sure why you see old template.

nerbert 11-09-2011 02:35 AM

If it's orange it is inherited from a parent style. You have to go up one level and revert that too.

Erica1977 11-09-2011 02:44 AM

Quote:

Originally Posted by nerbert (Post 2265884)
If it's orange it is inherited from a parent style. You have to go up one level and revert that too.

ok yellow is for Template is Inherited From a Parent Style and orange is Template is Customized in this Style and white is Template is Unchanged From the Default Style that is why i say its reverted it.

nerbert 11-09-2011 03:00 AM

You must have a customized adminCP.

But you still have the old templates in seamus and btech. Somewhere there'a a bottleneck

Erica1977 11-09-2011 03:05 AM

Quote:

Originally Posted by nerbert (Post 2265895)
You must have a customized adminCP.

But you still have the old templates in seamus and btech. Somewhere there'a a bottleneck

ok look again reverted its white now

nerbert 11-09-2011 03:20 AM

Oh my! Your btech is a mess. But the good news is ThreadNav is working perfectly!

I guess you'll have to turn it off. I'll try to figure out what's going wrong. My head moderator is a very good programmer. I'll see if he can help me figure this out.

Erica1977 11-09-2011 03:23 AM

Quote:

Originally Posted by nerbert (Post 2265901)
Oh my! Your btech is a mess. But the good news is ThreadNav is working perfectly!

I guess you'll have to turn it off. I'll try to figure out what's going wrong. My head moderator is a very good programmer. I'll see if he can help me figure this out.

ok lol hopefully we can get this fix .


All times are GMT. The time now is 12:53 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.02156 seconds
  • Memory Usage 1,880KB
  • 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
  • (4)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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