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)
-   -   Add-On Releases - PM notification when receiving reputation points (https://vborg.vbsupport.ru/showthread.php?t=242097)

Max Taxable 06-06-2013 01:47 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2426095)
See post #27, this mod is unsupported. Harassing the mod author isn't going to help.

Not 100% sure & is the issue though it certainly isn't correct after a ? in a URL.

If the page loads but it simply isn't going to the specific post, you have to add #post2355813 at the end of the URL (from the example above.)

It is the #[post#] that brings the page to the correct spot in the browser window.

That does exist in the link sent via PM. The Mod is working right except for the & being inserted into the link.

Sometimes you land on the post, sometimes on the OP of the thread the post is in.

Max Taxable 06-06-2013 02:17 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2426095)
you have to add #post2355813 at the end of the URL (from the example above.)

It is the #[post#] that brings the page to the correct spot in the browser window.

Here's a correct example of what her board actually sends to recipients of reputation:
PHP Code:

http://kat2forum.com/forum/showthread.php?12461-The-Draft&p=222938#post222938 

As you can see, all the information is there to direct the browser to the specific post, but that information comes after the "&" in the malformed link.

Max Taxable 06-06-2013 02:49 PM

Here's the code in question, from the plugin:

PHP Code:

  // Create link to post
  
$sk_repnotif_postlink $vbulletin->options['bburl'] . "/" fetch_seo_url('thread'$threadinfo, array('p' => $postid)) . "#post$postid";


// 


BirdOPrey5 06-06-2013 03:23 PM

I would suggest changing the line to:

Code:

$sk_repnotif_postlink = $vbulletin->options['bburl'] . "/showthread.php?$session[sessionurl]p=$postid#post$postid";
That works fine in VB4 although it doesn't produce the SEO friendly URL in the browser- but as this URL will never be seen by search engines it isn't a problem.

Whatever the bug it seems to be with the fetch_seo_url() function, not the code from this mod.

Max Taxable 06-06-2013 03:56 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2426158)
I would suggest changing the line to:

Code:

$sk_repnotif_postlink = $vbulletin->options['bburl'] . "/showthread.php?$session[sessionurl]p=$postid#post$postid";
That works fine in VB4 although it doesn't produce the SEO friendly URL in the browser- but as this URL will never be seen by search engines it isn't a problem.

Whatever the bug it seems to be with the fetch_seo_url() function, not the code from this mod.

I will try the line you suggest and report back, thanks for the help!

Max Taxable 06-06-2013 04:14 PM

Hey BoP5..... That did the trick, no more mean old "amp;" stuff in the URLS, and several test reps have confirmed we now go straight to the post that was repped.

YOU FIXED IT.

THANK YOU!

Kat-2 06-06-2013 04:16 PM

Thank you, Thank you!!! I have been dealing with this for over 2 years....*big grin*

Max Taxable 06-06-2013 04:29 PM

VICTORY! We kicked it's ASS!

datoneer 07-05-2013 10:31 PM

Great it works with 4.2.1! Installed and nominated!

DemOnstar 07-09-2013 10:58 AM

Quote:

Originally Posted by datoneer (Post 2432291)
Great it works with 4.2.1! Installed and nominated!

As above! :up:


All times are GMT. The time now is 01:05 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.01111 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (4)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
  • (10)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