vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - Direct External Links (https://vborg.vbsupport.ru/showthread.php?t=158624)

Marco van Herwaarden 09-23-2007 10:00 PM

Direct External Links
 
Direct External Links - 1.0.0a

Modification: Direct External Links
Version: 1.0.0a
Author: MarcoH64 / Marco van Herwaarden
vB Version: 3.6.8 (might work on older 3.6.x versions)

Based on request: Direct Forum Link

Please don't forget to click Install at vbulletin.org if you want to keep updated.

Description:
Standard vBulletin offers the option to create forum that is a link to an URL ("Forum URL"). This will however not be a direct link, but a redirect over forumdisplay.php.

With this modification you will have the option to replace the redirect link over forumdisplay.php with the real direct external link. This option can be set for each forum (that has the Forum URL set) individually. This will work both on ForumHome and on ForumDisplay.

1 product file
2 manual template edit.

Change Log:

24 september 2007 - 1.0.0a
- Updated install instructions to work also for Sub-Forums and both on ForumHome and ForumDisplay

Magnumutz 09-24-2007 10:46 AM

I'm glad to be the first to install this hack, Thanks Marco !

Waiting for the download :P

Marco van Herwaarden 09-24-2007 10:51 AM

Download re-added.

Atakan KOC 09-24-2007 10:53 AM

Thanks Marco...

Marco van Herwaarden 09-24-2007 03:32 PM

Updated to work also for SubForums and bot on ForumHome and ForumDisplay.

No reinstall needed, only updated install instructions to do an additional template edit.

Out of Beta

staff80 09-24-2007 05:16 PM

Thanks so much. Instant reply. :)

Marco van Herwaarden 09-24-2007 05:19 PM

Please let me know if it works as expected.

BuRaCh 09-24-2007 07:29 PM

nice idea marco
installed;)

Calash 09-24-2007 07:31 PM

Working perfectly on my site. It is all internal links to different sections of the site.

Thanks for posting the mod :)

iogames 09-24-2007 07:44 PM

I know is good, just I don't know why... :p

4x4 Mecca 09-25-2007 06:18 AM

Doesn't quite fork for me. From forumhome http://www.socaloffroading.com/ you see it's not working, but from the sub forum it is http://www.socaloffroading.com/forumdisplay.php?f=21 (the first 3 have been changed, the rest haven't)

projectego 09-25-2007 07:16 AM

Thank you! :D

Marco van Herwaarden 09-25-2007 07:45 AM

Quote:

Originally Posted by 4x4 Mecca (Post 1346599)
Doesn't quite fork for me. From forumhome http://www.socaloffroading.com/ you see it's not working, but from the sub forum it is http://www.socaloffroading.com/forumdisplay.php?f=21 (the first 3 have been changed, the rest haven't)

I don't see any external links at all on your forumhome.

Marco van Herwaarden 09-25-2007 07:47 AM

Quote:

Originally Posted by projectego (Post 1346625)
Thank you! :D

Sorry but i don't understand your post. What are you thanking for if you have not even downloaded it.

[high]* Marco van Herwaarden confused[/high]

4x4 Mecca 09-25-2007 04:03 PM

at the bottom, the sub forums. They are in a forum called "So Cal Off Roading Links"

Marco van Herwaarden 09-25-2007 04:49 PM

If you mean the subforums of the Shop Links & Business Links, they are probably using a level3 forumbit, did you also edit that template?

Analogpoint 09-25-2007 05:35 PM

Quote:

Originally Posted by Marco van Herwaarden (Post 1346641)
Sorry but i don't understand your post. What are you thanking for if you have not even downloaded it.

[high]* Marco van Herwaarden confused[/high]

Maybe he's thanking you for it, and planning on downloading/installing it at a later date. :)

iogames 09-25-2007 07:42 PM

Quote:

Originally Posted by Analogpoint (Post 1346955)
Maybe he's thanking you for it, and planning on downloading/installing it at a later date. :)

Or maybe thanking you for longstanding service to the community ;)

I confess, when a saw it was a 'Herwaarden' I thought, must be good! but I still can't find purpose on my forum for this hack... :confused:

4x4 Mecca 09-25-2007 09:51 PM

Thanks, I saw you say the thing about editing the other templates, but didn't know that applied to what I was doing.

Marco van Herwaarden 09-26-2007 05:30 AM

So where you able to solve it by editing that level3 template?

4x4 Mecca 09-26-2007 05:36 AM

I didn't see a level3 template. I searched for "forumhome_forumbit_" and 1 and 2 came up, that's it.

Marco van Herwaarden 09-26-2007 08:40 AM

You will need to edit the template that is used to show these sub-forums in 2 columns. If you do not know which template it is, shortly enable debug to see which template it is.

If you can not figure it out, you could send me admin login details by PM and i will have a look (for your testboard would be best if you have a test copy of your board).

4x4 Mecca 09-27-2007 05:25 PM

Here is the code that is included with that mod. I disabled it once, and that didn't change anything.
Code:

<if condition="(!in_array($forum['forumid'], array($cybsfa_countsexclfrms)) AND ($forum['threadcount']!=0))">
<if condition="!in_array($forum['parentid'], array($cybsfa_exclfrms2))">
<if condition="(($forum[childlist]==$forum[forumid].',-1') AND !$forum[link])">
<span title="$cybsfmt" style="text-transform:none;$vboptions[cybsfa_countscss]">$cybsfmp</span></if><else />
<if condition="$vboptions[cybsfa_affectexclforums]"><if condition="(($forum[childlist]==$forum[forumid].',-1') AND !$forum[link])">
<span title="$cybsfmt" style="text-transform:none;$vboptions[cybsfa_countscss]">$cybsfmp</span></if></if></if></if>
<if condition="(in_array($forum[forumid], array($cybsfa_blanklinesub)))"><br /><br /></if>


Arrogant-One 09-28-2007 08:02 AM

Are there any screen shots for this mod?

I dont really understand what this mod does. Currently you click the link icon and type in the page and then give a description for it. How does this mod make that process work better?

AO

Marco van Herwaarden 09-29-2007 07:36 AM

Sorry, but i have no clue what that does.
Quote:

Originally Posted by 4x4 Mecca (Post 1348396)
Here is the code that is included with that mod. I disabled it once, and that didn't change anything.
Code:

<if condition="(!in_array($forum['forumid'], array($cybsfa_countsexclfrms)) AND ($forum['threadcount']!=0))">
<if condition="!in_array($forum['parentid'], array($cybsfa_exclfrms2))">
<if condition="(($forum[childlist]==$forum[forumid].',-1') AND !$forum[link])">
<span title="$cybsfmt" style="text-transform:none;$vboptions[cybsfa_countscss]">$cybsfmp</span></if><else />
<if condition="$vboptions[cybsfa_affectexclforums]"><if condition="(($forum[childlist]==$forum[forumid].',-1') AND !$forum[link])">
<span title="$cybsfmt" style="text-transform:none;$vboptions[cybsfa_countscss]">$cybsfmp</span></if></if></if></if>
<if condition="(in_array($forum[forumid], array($cybsfa_blanklinesub)))"><br /><br /></if>



Marco van Herwaarden 09-29-2007 07:38 AM

Quote:

Originally Posted by Arrogant-One (Post 1348825)
Are there any screen shots for this mod?

I dont really understand what this mod does. Currently you click the link icon and type in the page and then give a description for it. How does this mod make that process work better?

AO

Screenshots would not show you much.

If you use a forum link (ie. fill out the link in the Forum Manager), regular vBulletin would put a link like "../forumdisplay.php?f=1234" on your forumhome or forumdisplay. When clicked it would redirect to the link provided. With this modification it is possible to replace the forumdisplay.php?f=1234 link on these pages, with the target link itself.

JohnBee 09-30-2007 02:42 PM

For a moment there, I thought this hack would produce live forum links(with stats) like a true forum...

King Diamond 04-27-2011 10:12 AM

Please Update this hack

version 4

thanks


All times are GMT. The time now is 07:02 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.01337 seconds
  • Memory Usage 1,775KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete