PDA

View Full Version : Add-On Releases - Navbar Mod - adds social bookmarking, notifications highlighting, & search fields


vbboarder
09-01-2008, 10:00 PM
Navbar Additions + ShareThis

This mod adds 3 features to the navigation bar:
1. ShareThis social bookmarking: ShareThis is a free social networking script tool that enables users to add your site to the top 20 social bookmarking sites, send e-mails & SMS to friends about your site, and post to networking sites like MySpace & Facebook. Also, it provides free tracking & reporting so you?ll know how well your site is being shared, automatic updates with new features, and a JS API to customize its display. It?s similar to AddThis, but provides more features and a better user interface.

2. 7 search fields & links: In the ?Search? drop-down menu, this mod adds 2 search fields (?Search Members? and ?Search Social Groups?) and 5 search links ? Advanced Member Search, Advanced Group Search, Who?s Online, My Posts, My Threads.

3. Highlighting of Notifications: This mod will highlight the Notifications area in the navbar and the Notifications links in its drop-down menu when the user receives: friend or social group requests; private messages, visitor messages, or picture comments that are unread; visitor messages, picture comments, or social group messages that are awaiting approval.

ShareThis Social Bookmarking

Sign up and get your free script at ShareThis: http://sharethis.com/publisher
Support FAQ page is located at - http://support.sharethis.com/publishers
ShareThis API for customizations is at: http://sharethis.com/publisher?type=stapi
Sample ShareThis report page & graphs: http://sharethis.com/example_report

10 Features & Customizations

1. Search headers & links are fully phrased (all phrases start with ?navbarMod?).

2. Search fields are CSRF protected and will work even if you have vbAdvanced installed in a non-forum directory.

3. The user?s name will be marked up if you specified HTML in ?Username HTML Markup? for the usergroups in Usergroup Manager. Also, if you use vbExperience and a user has awards, those awards will also be displayed.

4. With ShareThis bookmarking, VB?s basic bookmarking is now redundant. To disable, go to vBulletin Options > select Thread Display Options (showthread) > at bottom of page, set ?Enable Social Bookmarking? to No and save.

5. You can change the background color of the Notifications area in the navbar. It?s currently set to aqua, but you can change that to any color or even use CSS to add a background image (just make sure it fits without getting cropped or overflowing).

6. You can change the color of the Notifications links in the dropdown menu. It?s currently set to red, but you can change that to any color or even use CSS to style it.

7. You can choose to show all notices or hide links with 0 new notices. Also, you can sort the notifications alphabetically.

8. Two links, Register & Forgot Password?, are added to the navbar login area. The ?Remember Me?? checkbox for user login is automatically checked.

9. Private Messages link in the navbar near the Welcome message has a dropdown menu for: Inbox, Sent Items, Send New Message, Track Message, & Edit Folders.

10. A VB Options page is provided to easily set script, styles & colors.

Installation
1. Download the product xml file. Go to Manage Products > Add/Import Product, upload that xml file, set ?allow overwrite? = yes, and click Import.

2. Sign up and get your free script at ShareThis: http://sharethis.com/publisher
It?s recommended to set ?embeds? to true when setting up the ShareThis script to prevent possible conflicts with embedded Flash. Using the ShareThis bookmarking is optional, but if you don?t, you?ll be missing out on 1/3 of this mod?s features.

3. Go to VB Options > Navigation + Notifications Additions to add the ShareThis script and set the styles & colors.

Update:
Reimport the new product xml file and allow overwrite.
Important: you must revert the navbar_additions template if your version is older than 1.2.0.

Notes:
1. You need to have a new notification in order for the highlighting to take effect.
2. I read all posts for this mod so feel free to post any comments or suggestions.
3. You will be notified by e-mail for future updates if you click ?Marked as Installed.? If you find this mod useful, remember to click ?Nominate for MOTM.?

Versions:

1.0.0 Initial Release.
1.1.0 Auto templating added:
Added VB Options page to easily set script, styles & colors.
Added product version checking and auto-checked ?Remember Me? for user login.
Fixed URL for 1 form & 1 link (only affects users with vbAdvanced installed in a non-forum directory).
1.2.0 New Features:
Added dropdown menu for the private messages link in the navbar (near the Welcome message).
Added Register & Forgot Password? links to the navbar login area.
Added 2 search links (My Posts & My Threads) to search all of the user?s posts & threads.
Added an option to disable the ?Search Site? extra links: Who?s Online, My Posts, My Threads.
1.3.0 Added option to sort notifications alphabetically.
1.3.5 Provided an option to manually edit navbar template.
.
MAKE SURE TO CLICK INSTALL ;) (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=189779)

vbboarder
09-02-2008, 03:20 AM
To manually edit the navbar template (version 1.3.5), go to Style Manager > Edit Templates > navbar:
FIND these 2 comments:
<!-- breadcrumb, login, pm info -->
<!-- / breadcrumb, login, pm info -->

REPLACE the content between those 2 comments with everything in the navbar_additions template and save. Remember to set “auto template navbar?” to ‘No’ in the Navbar Notices, ShareThis, Links settings in VB Options.

Version 1.2.0: new dropdown menu for private messages (see attachment).

Hornstar
09-02-2008, 06:34 AM
I can see this being very useful..but what is the catch with using this service?

vbboarder
09-02-2008, 06:59 AM
No catch - it's absolutely free and no advertising! Check out the links to ShareThis and see for yourself. ;)

vbboarder
09-05-2008, 07:36 PM
Version 1.1.0 JUST RELEASED!
New Features: No more template edits! You can now specify settings in VB Options for highlighting colors, hiding links with no new notifications, and inserting the ShareThis script.

To update, reimport the new product xml file and allow overwrite.
Important: you must revert the navbar_additions template (only if updating from first version 1.0.0).
Then go to VB Options > Navigation + Notifications Styles to add the ShareThis script and set the styles & colors.

Celtkin
09-06-2008, 01:24 PM
Clicks Installed and voted for MOTM.

Great job!

vbboarder
09-07-2008, 03:28 AM
Thanks for showing your support! :D

vbboarder
09-12-2008, 09:01 PM
JUST RELEASED: Version 1.2.0
New Features:
Added dropdown menu for the private messages link in the navbar (near the Welcome message – see attachment for a screenshot).
Added Register & Forgot Password? links to the navbar login area.
Added 2 search links (My Posts & My Threads) to search all of the user’s posts & threads.
Added an option to disable the “Search Site” extra links: Who’s Online, My Posts, My Threads.

aus360
09-19-2008, 10:41 AM
i got database error in my forum after uninstalling mod!!!!!!
i am using 3.7.2


>>>>>>>>>>Problem Fixed<<<<<<<<<<

aus360
09-19-2008, 10:45 AM
>>>>>>>>>>Problem Fixed on September 20, 2008<<<<<<<<<<

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT administrator.*,
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_plugins AS phrasegroup_plugins,
language.phrasegroup_cpglobal AS phrasegroup_cpglobal,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN administrator AS administrator ON (administrator.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 2;

MySQL Error : Unknown column 'language.phrasegroup_global' in 'field list'
Error Number : 1054
Request Date : Friday, September 19th 2008 @ 06:36:35 AM
Error Date : Friday, September 19th 2008 @ 06:36:35 AM
Script : http://aus360.net/vb/admincp/plugin.php?do=product
Referrer : http://aus360.net/vb/admincp/plugin.php?do=productkill
IP Address : 86.96.226.86
Username :
Classname : vB_Database
MySQL Version :

vbboarder
09-19-2008, 05:39 PM
i got database error in my forum after uninstalling mod!!!!!! i am using 3.7.2
Are you posting in the right thread? I don't know how my mod can cause the DB error on uninstall. I tested it myself - uninstalled mod 1.2.0 from VB 3.7.2 and it uninstalled cleanly without any errors. This mod doesn't modify the database, so it shouldn't have caused your error - you can look at the xml file yourself to verify.

MySQL Error : Unknown column 'language.phrasegroup_global' in 'field list'As your post shows, your 'language.phrasegroup_global column does not exist. That column is a standard, default column for vBulletin that you should have in your DB.

aus360
09-19-2008, 09:16 PM
i tried to repair the database in many ways but nothing worked, therefore i installed the 3.73 and imported a backed up database. i will try to install your mod tomorrow and i will tell you what happens, but the reason which caused me to put all the blame on your mod is that the instant i clicked uninstall i got the error.btw your mod is really cool.

aus360
09-20-2008, 05:07 PM
thanx man ur mod is working perfectly on 3.7.3, but i will never uninstall it. Maybe it caused the error because last time i forgot to check yes in (overwrite all) when i was installing it.

vbboarder
09-20-2008, 06:01 PM
Glad you're not having any problems. I'm sure my mod didn't modify your DB.... would appreciate it if you could edit your first post to say that the problem was fixed.

FYI: next time you could just restore the DB column that you somehow lost instead of doing a reinstallation of VB.

vbboarder
10-04-2008, 10:25 PM
Just Updated: 1.3.0 Added option to sort notifications alphabetically.
To update, reimport the new product xml file and allow overwrite.

Optional: in addition to sorting the notifications alphabetically, you can give them a more uniform look: go to Languages & Phrases > Search in Phrases, search and change notifications phrases to: “Awaiting Approval:…”, “New….”, “Social Group….”. See screenshot for example.

Sunflower2007
10-07-2008, 07:19 PM
I can't seem to get it to work... it is highlighted but no drop down work.

vbboarder
10-07-2008, 07:36 PM
You need to have javascript enabled in your browser for the drop-down to work.

Sunflower2007
10-07-2008, 09:15 PM
You need to have javascript enabled in your browser for the drop-down to work.

Oh how do I do that?

Sunflower2007
10-07-2008, 09:29 PM
It works for my users just not me.

vbboarder
10-10-2008, 03:31 PM
It works for my users just not me.
Most likely your browser settings are configured wrong.

To enable javascript:
In Firefox, go to Tools -> Options -> Content -> enable javascript.

In Internet Explorer, go to Tools -> Internet Options -> Security -> Custom Level... -> enable active scripting.

vbboarder
11-03-2008, 08:11 PM
Just tested this mod in VB 3.8.0-beta1 with no problems - all features work fine.

msvi007
11-04-2008, 03:09 PM
Hi we use a couple other mods that seem to vanish when this one is enabled. Can you please let me know how we can keep the others showing as well?

The other ones we use are:

https://vborg.vbsupport.ru/showthread.php?t=168303
(our members love seeing how many new posts and new rep comments they have instantly)

https://vborg.vbsupport.ru/showthread.php?t=172507
our members really enjoy the custom greetings

Thanks for your help :)

vbboarder
11-05-2008, 08:12 PM
Hi we use a couple other mods that seem to vanish when this one is enabled. Can you please let me know how we can keep the others showing as well?

The other ones we use are:

https://vborg.vbsupport.ru/showthread.php?t=168303
(our members love seeing how many new posts and new rep comments they have instantly)

https://vborg.vbsupport.ru/showthread.php?t=172507
our members really enjoy the custom greetings

Thanks for your help :)
I don't use the ultimate navbar mod (you should consider another one since that one is in the mod graveyard). I do use the display unread posts mod without any problems - are you using the latest version of that mod and did you modify any of its codes or plugins?

Anyways, the solution to your problem is the execution order of the plugins. The default order for VB plugins is 5. One of my plugins needs to execute before most plugins so I set its order to 3. Most likely the execution order of the display unread posts mod is set to 3 or less (you may have changed it or are not using the latest version). The solution is to set the order to 4 or more (go to Plugins Manager) for the display unread posts mod. For ANY mods, whenever another mod is not showing, its most likely an issue with the plugins execution order.

For the ultimate navbar mod, do the same thing for its execution order - set it to 4 or more. If that does not work, then consider using this popular mod ( https://vborg.vbsupport.ru/showthread.php?t=165519 ) and making your own navbar (it's simple, see navbar tutorials in the Articles forum).

msvi007
11-16-2008, 04:30 AM
Nope that did not help, it is still not showing up even when i disable the ultimate navbar,

Can you tell me if I can just keep the share this and not have the other stuff change?

vbboarder
11-16-2008, 06:59 PM
Nope that did not help, it is still not showing up even when i disable the ultimate navbar,

Can you tell me if I can just keep the share this and not have the other stuff change?
Well, if you disable the ultimate navbar, obviously that mod will not show up.... did you mean the display unread posts mod is not showing up (you said "it".... need to clarify).

I believe that display unread posts mod has several plugins, so you should change the execution order of ALL of its plugins to 4 or more. I use that mod with my mod without any problems.

For the ultimate navbar, I can not help you further because I don't use that mod and that mod is in the graveyard.

To answer your question, Sharethis can be used alone but would require custom coding on your part, which I can not help.

msvi007
11-16-2008, 07:04 PM
Yes i mean the unread posts is not showing up. I disabled the ultimate navbar, changed the execution order and still it doesn't show.

If you can help me make it work with the unread posts I would really appreciate it. I love your mod, but our members can not live without the unread posts, they are addicted to it.

blackberry
01-09-2009, 11:42 AM
this hack disables the mood hack
https://vborg.vbsupport.ru/showthread.php?t=193587

vbboarder
01-10-2009, 06:11 PM
this hack disables the mood hack
https://vborg.vbsupport.ru/showthread.php?t=193587
The Plus Mood mod requires a custom edit to the navbar. Go to the Style Manager and edit the navbar_additions template:

FIND:
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
.
Before that, ADD:
$plus_mood_welcome_x

apiasto
01-11-2009, 01:09 AM
nice hack just installed it n love it,however i am having the same problem mood menu is not showing tried what you wrote but nothing any idea? i am using vmood

https://vborg.vbsupport.ru/showthread.php?t=178020&highlight=vmood

vbboarder
01-12-2009, 05:28 PM
nice hack just installed it n love it,however i am having the same problem mood menu is not showing tried what you wrote but nothing any idea? i am using vmood

https://vborg.vbsupport.ru/showthread.php?t=178020&highlight=vmood
The vMood mod is different from the Plus Mood mod so it requires a different solution. To enable the vMood mod, you need to:
1. DISABLE the auto edit in the vMood settings page (REQUIRED STEP)

2. add to the navbar_additions template: $vmood_form

ie: FIND:
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>.
Before that, ADD:
$vmood_form

vbboarder
04-01-2009, 04:36 PM
Updated: version 1.3.5 was just released. Provided an option to manually edit the navbar template, in case if you have conflicts with other mods. Read the 2nd post for the navbar manual edit instructions. It is recommended that you install this update if you are having conflicts with other mods or if you want to optimize the navbar template.

smoothoperator
01-05-2010, 04:58 PM
it says to add the sharethis script and adjust styles and colors...i do not see a place to do this. where exactly do i put it?

bchertov
03-09-2012, 05:08 AM
Anybody using this with VB 4.0? Is there a better intergration between sharethis and VB 4.0 using another mod?