vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Site Links Block In WGO (https://vborg.vbsupport.ru/showthread.php?t=297603)

ozzy47 04-25-2013 10:00 PM

[OzzModz] Site Links Block In WGO
 
Another mod brought to you by,
https://vborg.vbsupport.ru/external/2015/01/1.png

Site Links Block In WGO will show a block containing important links on your site in the What's Going On area.

Settings can be found in ACP / Settings / Options / Ozzy: Site Links Block In WGO Settings.

Complete Feature List
  • Option to disable the Site Links block completely.
  • Option to select four different positions in the WGO section to display the block.
  • Option to select which usergroups can't see the Site Links block.
  • Option to disable the Important Information links column.
  • Three settings for Five different Important Information links, option to show link, option to enter the URL for link, and a option to enter the title for link.
  • Option to disable the Miscellaneous Links column.
  • Three settings for Five different Miscellaneous Links, option to show link, option to enter the URL for link, and a option to enter the title for link
-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

First screenshot is what a member might see, the second one is what a guest might see.

Installation instructions are in the readme file in the zip.

-------------------------------------------------------------------------------------------

v1.0.0 Initial Release

v1.0.1 Fixed some issues.
  • Privacy Statement links to http://myforum.com/$vboptions%5Bprivacyurl%5D and serves up a blank page.
  • Contact Us links to http://myforum.com/$vboptions%5Bcontactuslink%5D and serves up a blank page.

autoescala 04-26-2013 06:23 AM

Thank you very much! Nice Mod

ozzy47 04-26-2013 10:03 AM

Not a problem, glad ya like it.

djbaxter 04-28-2013 02:51 AM

Errors in vBulletin 4.2.1

1. Privacy Statement links to http://myforum.com/$vboptions%5Bprivacyurl%5D and serves up a blank page.

2. Contact Us links to http://myforum.com/$vboptions%5Bcontactuslink%5D and serves up a blank page.

ozzy47 04-28-2013 03:39 AM

Quote:

Originally Posted by djbaxter (Post 2418893)
Errors in vBulletin 4.2.1

1. Privacy Statement links to http://myforum.com/$vboptions%5Bprivacyurl%5D and serves up a blank page.

2. Contact Us links to http://myforum.com/$vboptions%5Bcontactuslink%5D and serves up a blank page.

Well spotted, thanks for reporting.

ozzy47 04-28-2013 03:40 AM

v1.0.1 is now available, fixed some issues.

1. Privacy Statement links to http://myforum.com/$vboptions%5Bprivacyurl%5D and serves up a blank page.

2. Contact Us links to http://myforum.com/$vboptions%5Bcontactuslink%5D and serves up a blank page.

datoneer 04-28-2013 08:21 PM

This could be useful for advertising too

ozzy47 04-28-2013 08:26 PM

Yeah I could see some people using it for that.

ProFifaLeagues 04-28-2013 08:47 PM

Nice Mod Ozzy Cheers

ozzy47 04-28-2013 10:37 PM

Not a problem, glad ya like it.

datoneer 04-29-2013 12:37 AM

I'll try it tomorrow on my forum

ozzy47 04-29-2013 12:41 AM

Great, let me know how it goes.

Black Snow 04-29-2013 10:54 AM

Any screenshots of the AdminCP Settings for this?

ozzy47 04-29-2013 11:06 AM

No, with over thirty settings it would be a pita to screenshot it all, best thing I can tell ya is to install it and take a look, if you don't like it you can then uninstall it. Or if you have any questions after installing, just ask.

Rodrigo. 05-03-2013 08:53 AM

<i>Great work in vb 4.2.0 pach level 3</i>

ozzy47 05-03-2013 10:05 AM

Yes, it should work in all 4.x versions, please don't forget to mark as installed.

justicechick 05-03-2013 01:42 PM

Ive installed in 4.2.1 very nice mod. Im curious though is there not anyway to adjust the width because Im using a fixed style, its to wide.

ozzy47 05-03-2013 07:52 PM

I see it's a custom style, I would need a admin account to be able to see if I could make it work on that. The way the code is set up is to vBulletin default coding so if they adjust the code in the WGO template then it will not look right as you have found out.

justicechick 05-04-2013 05:12 AM

Quote:

Originally Posted by ozzy47 (Post 2419811)
I see it's a custom style, I would need a admin account to be able to see if I could make it work on that. The way the code is set up is to vBulletin default coding so if they adjust the code in the WGO template then it will not look right as you have found out.

I can PM you a user acct if you wouldnt mind checking it. That would be awesome!

ozzy47 05-04-2013 10:03 AM

I will check it out a bit later today and see what I can do.

justicechick 05-06-2013 05:49 AM

Quote:

Originally Posted by ozzy47 (Post 2419876)
I will check it out a bit later today and see what I can do.

Thanks it looks awesome!

ozzy47 05-06-2013 09:48 AM

Not a problem, glad to help.

Life Revived 05-06-2013 10:58 PM

Quote:

Originally Posted by ozzy47 (Post 2420209)
Not a problem, glad to help.

Anyway to move this below the Icon Legend part? Thanks! :)

ozzy47 05-06-2013 11:03 PM

ACP / Settings / Options / Ozzy: Site Links Block In WGO Settings and change the setting Where To Show The Site Links Block.

Don't forget to mark as installed if you are using it.

Life Revived 05-06-2013 11:28 PM

Quote:

Originally Posted by ozzy47 (Post 2420379)
ACP / Settings / Options / Ozzy: Site Links Block In WGO Settings and change the setting Where To Show The Site Links Block.

Don't forget to mark as installed if you are using it.

Thank you very much! :up:

ozzy47 05-07-2013 12:23 AM

Not a problem, glad to help, and thanks for marking as installed.

justicechick 05-07-2013 06:52 AM

I got all my other styles fixed using the template you fixed as a guide... thanks a million!

ozzy47 05-07-2013 09:36 AM

Glad to hear, thanks for reporting back.

Life Revived 05-12-2013 03:34 PM

Any way to remove "Back To Top" & Add and extra link under "Need Some Help?" to even things out. Any help is appreciated. Thanks! :)
http://puu.sh/2S25U.png
http://puu.sh/2S26X.png

Life Revived 05-12-2013 03:34 PM

Quote:

Originally Posted by ozzy47 (Post 2420447)
Glad to hear, thanks for reporting back.

(Forgot to quote)

Snowhog 05-12-2013 04:34 PM

Downloaded and tagged. This looks to be a nice 'value added' feature for vBulletin.

ozzy47 05-12-2013 04:42 PM

Quote:

Originally Posted by Life Revived (Post 2421539)
Any way to remove "Back To Top" & Add and extra link under "Need Some Help?" to even things out. Any help is appreciated. Thanks! :)

There is no easy way to add a link under that column, as the one you are missing is for the archive, which you probably have disabled.
  • Visit your vBulletin Admin Control Panel, and on the left hand side, go into vBulletin Options.
  • In the dropdown, find Search Engine Friendly Archive.
  • Set the first option (Forum Archive Enabled) to "Yes", and hit the "Save" button.
To remove the Back to Top, edit the template ozzy_links_block and remove this bit of code:


HTML Code:

        <div align="{vb:stylevar right}" style="margin-top: -20px; margin-right: 10px;">
            <li><a href="{vb:raw relpath}#top" onclick="document.location.hash=\'top\'; return false;">{vb:rawphrase ozzy_links_block_btt}</a></li>
        </div>


Life Revived 05-12-2013 04:59 PM

Quote:

Originally Posted by ozzy47 (Post 2421566)
There is no easy way to add a link under that column, as the one you are missing is for the archive, which you probably have disabled.
  • Visit your vBulletin Admin Control Panel, and on the left hand side, go into vBulletin Options.
  • In the dropdown, find Search Engine Friendly Archive.
  • Set the first option (Forum Archive Enabled) to "Yes", and hit the "Save" button.
To remove the Back to Top, edit the template ozzy_links_block and remove this bit of code:


HTML Code:

        <div align="{vb:stylevar right}" style="margin-top: -20px; margin-right: 10px;">
            <li><a href="{vb:raw relpath}#top" onclick="document.location.hash=\'top\'; return false;">{vb:rawphrase ozzy_links_block_btt}</a></li>
        </div>


Removed the "Return to Top" successfully. And the reason I have the vBulletin archive disabled is I currently have vbseo installed and running on my site. Thanks for the help and if you have any suggestions on the archive thing let me know. :)

ozzy47 05-12-2013 07:08 PM

Quote:

Originally Posted by Life Revived (Post 2421569)
Removed the "Return to Top" successfully. And the reason I have the vBulletin archive disabled is I currently have vbseo installed and running on my site. Thanks for the help and if you have any suggestions on the archive thing let me know. :)

You could look in the same template and find:

HTML Code:

                    <vb:if condition="$vboptions['archiveenabled']">
                        <li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase ozzy_links_block_archive}</a></li> 
                    </vb:if>

Remove the if conditional so it looks like this:

Code:

                        <li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase ozzy_links_block_archive}</a></li>
Then change archive/index.php to something else, and change {vb:rawphrase ozzy_links_block_archive} to text such as My Link Name.

BGObsession 11-29-2013 03:44 PM

Love this mod. I've installed it on my 4.2.1 site. It appeared and worked fine until I began customizing the Important Info and Miscellaneous Links sections with new titles and urls. Now I get an error message when I turn it on as follows:

Parse error: syntax error, unexpected T_STRING in /home/bgobses/public_html/includes/class_core.php(4716) : eval()'d code on line 343

Any idea what that's about? The only thing I did in the Admin CP was to set up the desired links.

ozzy47 11-29-2013 05:05 PM

What was it you added in the options that caused that to happen?

BGObsession 11-29-2013 05:12 PM

I didn't change anything in the options, other than changing link titles and adding the full urls in the 'Important' and 'Misc' sections...It worked fine until I made changes. It doesn't make sense to me...

BGObsession 11-29-2013 05:27 PM

I got it working - the problem was a single link (the first 'Information' option). For some reason, it won't let me put in a link to this html page on my site:

http://www.bgobsession.com/gateway/3...ere-about.html

I don't know why it's causing that error, but that's the issue...

BGObsession 11-29-2013 05:35 PM

I've solved the mystery. It throws the error when you put an apostrophe in the link title - don't ask me why, but that's what is causing the problem.

ozzy47 11-29-2013 05:38 PM

Strange, I added that link no problem.


All times are GMT. The time now is 04:00 AM.

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.01423 seconds
  • Memory Usage 1,828KB
  • 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
  • (3)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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