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)
-   -   Miscellaneous Hacks - [USML] Navbar Networks (https://vborg.vbsupport.ru/showthread.php?t=262874)

mgcom 10-07-2011 03:55 PM

after i installed this i'm getting a pop window asking for ftp details ???

HMBeaty 10-08-2011 12:02 AM

Quote:

Originally Posted by mgcom (Post 2254376)
after i installed this i'm getting a pop window asking for ftp details ???

Lol! Wow! That's interesting as it didn't do that during testing. Anyway, let me explain what it's doing upon installation.... If you had installed the previous versions, I converted the plugins to files so they would be easier for me to edit, however, it got somewhat confusing after awhile, so I decided to convert them back to regular plugins. I also came across a code to automatically remove files/directories, which I added to the installation code. So, this code:
PHP Code:

$navFile1 "./includes/hooks/navnet/admin_options_processing.php";
$navFile2 "./includes/hooks/navnet/parse_templates.php";
$navDir "./includes/hooks/navnet";
$mainDir "./includes/hooks/";

if (@
is_file($navFile1)) {unlink($navFile1);}
if (@
is_file($navFile2)) {unlink($navFile2);}
if (@
is_dir($navDir)) {rmdir($navDir);}

$dp opendir($mainDir);
$count 0;
while ((
$dir readdir($dp)) !== false)
$count++;

if (
$count <= 2)
{
    
rmdir($mainDir);


does nothing more than remove the previously uploaded files from the previous versions (if they exist) and if the directory
Code:

./includes/hooks/
is empty, it will automatically remove that for you as well (again, if it exists). :D

I apologize for the confusion :o

HMBeaty 10-08-2011 12:04 AM

Also, if you do NOT wish the files to be automatically removed for you, and you want to go through ftp and delete them yourself, open up the product .xml file and remove everything from:
HTML Code:

<codes>
To
HTML Code:

</codes>

dang3rzon3 11-19-2011 02:45 PM

how to disable myspace icon and skype icon? Doesn't work from admic cp "Yes/NO" options.

HMBeaty 11-20-2011 02:32 AM

Quote:

Originally Posted by dang3rzon3 (Post 2269575)
how to disable myspace icon and skype icon? Doesn't work from admic cp "Yes/NO" options.

Assuming this is with the icons being in the header? I'll have the fix for that in just a few minutes as I see what I did wrong :o

HMBeaty 11-20-2011 03:01 AM

Updated to version 1.9.1
Quote:

  1. Bug fixed.
  2. Updated product version checking.


thecore762 11-20-2011 04:39 AM

The mod works, but the icons don't show..

HMBeaty 11-20-2011 04:48 AM

Quote:

Originally Posted by thecore762 (Post 2269799)
The mod works, but the icons don't show..

:eek: Well crap! lol! Thanks, just found this out myself as well. Not sure why they aren't working now unless something with the stylevars changed :confused:

thecore762 11-20-2011 04:55 AM

Actually works now.
I uninstalled plugin and re-uploaded and everything works.

BTW I can't get the RSS thingy to work: http://www.47r-squad.com/external.php?type=RSS2

HMBeaty 11-20-2011 05:02 AM

Quote:

Originally Posted by thecore762 (Post 2269801)
Actually works now.
I uninstalled plugin and re-uploaded and everything works.

BTW I can't get the RSS thingy to work: http://www.47r-squad.com/external.php?type=RSS2

Yeah, I fixed it on my end as well, just re-import the new .xml here and all should be good to go :)

Also, as for your RSS feed working or not working, make sure you have it enabled ;)

thecore762 11-20-2011 05:30 AM

1 Attachment(s)
Hmm, I am having some trouble with Mobile users iphone and users that have smaller browsers.
I added 500p from left in order for me to align with the right side.
Here is a screenshot:

Can this be adjusted?

HMBeaty 11-20-2011 05:34 AM

All adjustments are/can be made via the stylevars

thecore762 11-20-2011 05:42 AM

Quote:

Originally Posted by HMBeaty (Post 2269807)
All adjustments are/can be made via the stylevars

Correct, I've been messed with it for a bit but still can't get it to work.
The only way I can fix this is if I move the social media icons to the left from the right.

dang3rzon3 11-20-2011 12:35 PM

now it's working.
Yes i put it into header!

Thanks for your support.

It is possible to add Google Plus Brand page?

thecore762 11-20-2011 05:52 PM

BTW for some reason the facebook one is not lined up with the others, I've been trying to adjust it but no success.

HMBeaty 11-20-2011 05:56 PM

Quote:

Originally Posted by thecore762 (Post 2270002)
BTW for some reason the facebook one is not lined up with the others, I've been trying to adjust it but no success.

Based on your screenshot in your earlier post, it looks just fine to me, and they are all perfectly aligned on a clean install.

thecore762 11-20-2011 06:45 PM

They are not aligned anymore, see here: http://www.47r-squad.com/

HMBeaty 11-20-2011 06:54 PM

Quote:

Originally Posted by thecore762 (Post 2270031)
They are not aligned anymore, see here: http://www.47r-squad.com/

usml_navnet_facebook_margin
usml_navnet_myspace_margin
usml_navnet_rss_margin
usml_navnet_skype_margin
usml_navnet_twitter_margin
usml_navnet_youtube_margin


Make sure the values for each of these are as follows:

Units: px
Use the 'top' value for all sides: No
Top: 1
Right: 4
Bottom: 6
Left: 10

HMBeaty 11-20-2011 07:05 PM

Actually, upon looking at your css, you need to change

usml_navnet_facebook_margin

So the values are as follows:

Units: px
Use the 'top' value for all sides: No
Top: 8
Right: 4
Bottom: 6
Left: 10

thecore762 11-20-2011 08:34 PM

Sweet, thanks for looking into that for me :)
That fixed it, btw is it possible for me to move the icons all the way to the right without breaking the tabs?

HMBeaty 11-20-2011 08:48 PM

Quote:

Originally Posted by thecore762 (Post 2270074)
Sweet, thanks for looking into that for me :)
That fixed it, btw is it possible for me to move the icons all the way to the right without breaking the tabs?

Not at the moment. Currently, the only to do that would be to adjust the margin so they would all get displayed on the right, however, that may also throw the style off according to the users screen resolution

seareef 11-21-2011 04:03 AM

Icons didn't show up the first install. Had to install a second time. Works Great! Thanks :)

Boofo 11-21-2011 04:08 AM

Quote:

Originally Posted by HMBeaty (Post 2270078)
Not at the moment. Currently, the only to do that would be to adjust the margin so they would all get displayed on the right, however, that may also throw the style off according to the users screen resolution

Wouldn't a "float: right" take care of that?

HMBeaty 11-21-2011 04:12 AM

Quote:

Originally Posted by Boofo (Post 2270210)
Wouldn't a "float: right" take care of that?

Yes, but at the moment, that would have to physically be added to plugin code in several places for it to work. I'll make an update possibly in the next few days

jorgejgm 11-21-2011 10:23 AM

Hello.

No icons are displayed.
The path of the icons displayed in the browser (in any) is http://www.mydomain. but no http://www.mydomain/images/usml_navnet/XSocialicon.png

I tried changing the path of the images but can not find how.

I have the vbulletin default style in new installation. 4.18 suite version. (Cms on, blog off)

Thank you very much.

jorgejgm 11-22-2011 10:59 AM

Fixed.

In the style editor have put the full path and not relative http://www.mydomain/images/usml_navnet/XSocialicon.png. Fixed.

TheSupportForum 12-31-2011 11:18 AM

This works fine in Navbar for v4.1.9 but does not work at all in
header

HMBeaty 12-31-2011 04:28 PM

Quote:

Originally Posted by simonhind (Post 2282505)
This works fine in Navbar for v4.1.9 but does not work at all in
header

Do you have the Facebook platform enabled?

TheSupportForum 12-31-2011 07:14 PM

yep :)

i was just commenting on Header, it works in Navbar

as i originally quaoted above

Quote:

This works fine in Navbar for v4.1.9 but does not work at all in
header

betts02 12-31-2011 08:02 PM

Same here, Had to re-install for the icons to show up
Works great cheers

HMBeaty 01-01-2012 02:59 AM

Quote:

Originally Posted by simonhind (Post 2282595)
yep :)

i was just commenting on Header, it works in Navbar

as i originally quaoted above

I know what you were commenting on, which is why I asked if you had the Facebook platform enabled. As per the 1st post:
Quote:

* To show your networks in the header, the Facebook platform must be enabled!
Do you have a custom header? (I will test on 4.1.9 and 4.1.10 later this week)

TheSupportForum 01-01-2012 04:56 AM

thx for some reason i had it disabled, but dont understand why it wouldnt work in header
and work in navbar is facebook feature was disabled via the settings

HMBeaty 01-01-2012 05:07 AM

Quote:

Originally Posted by simonhind (Post 2282710)
thx for some reason i had it disabled, but dont understand why it wouldnt work in header
and work in navbar is facebook feature was disabled via the settings

Because for the header, it uses:
PHP Code:

{vb:raw facebook_header

To display the icons where they're currently placed, and it doesn't display unless the Facebook platform is enabled because vBulletin basically doesn't see that code until it's enabled

OldSchoolDSL 01-02-2012 10:43 PM

The main reason why I have Facebook and most social networks not used on my site is social networks slow down the page load.

Using Firebug, you can see 5 - 8 calls to facebook, 5 going out to twitter, ect... ect.... So while my page loads fine by its self... Users are stuck waiting for all the social networks to load.

Question: Does this call back to those networks or just provides a photo & link option?

HMBeaty 01-02-2012 10:52 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2283194)
The main reason why I have Facebook and most social networks not used on my site is social networks slow down the page load.

Using Firebug, you can see 5 - 8 calls to facebook, 5 going out to twitter, ect... ect.... So while my page loads fine by its self... Users are stuck waiting for all the social networks to load.

Question: Does this call back to those networks or just provides a photo & link option?

Just the image and link

OldSchoolDSL 01-02-2012 11:22 PM

Quote:

Originally Posted by HMBeaty (Post 2283198)
Just the image and link

The system will not let me keep liking your post. :p LOL

Thanks again for this modification. :)

Installed and working 4.1.10 Alpha 2 ...... A word of caution though.

I had to install this with "overwrite" turned on, upon the 2nd install. It seems as though it didn't install completely the 1st time and didn't add USMLNavbarNetworks the 1st time.

This was on my test site, with no other modifications installed.... Of course I am using an Alpha copy and this may not affect the final version. But it maybe something to keep an eye on in the future.

Thank again :)

HMBeaty 01-03-2012 12:11 AM

I'm aware of that issue, however, I haven't got a clue to what could be causing it. The iInstallation process worked just fine on all of the previous versions :confused:

thecore762 01-03-2012 06:54 AM

I'd like to put a request to have google+ added to this!

Amazing mod!

been using it for few weeks now!
www.47r-squad.com

thecore762 01-08-2012 01:31 AM

Bump :)

OldSchoolDSL 01-08-2012 01:37 AM

Quote:

Originally Posted by thecore762 (Post 2283291)
I'd like to put a request to have google+ added to this!

Amazing mod!

been using it for few weeks now!
www.47r-squad.com

I would like to 2nd this request (please). If it is something you can do and if you have the time.


All times are GMT. The time now is 07:36 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.01454 seconds
  • Memory Usage 1,839KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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