vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Who Quoted Me (https://vborg.vbsupport.ru/showthread.php?t=258001)

FreshFroot 01-30-2011 08:00 AM

well what the "p" does it it brings you DIRECTLY to the post, where as the "t" brings you directly to the post BUT allows you to see the whole thread.

I'm not sure what problem you are having exactly. can you PM me ur url so I can take a look.

Wonksta 01-30-2011 08:09 AM

Quote:

Originally Posted by FreshFroot (Post 2156364)
well what the "p" does it it brings you DIRECTLY to the post, where as the "t" brings you directly to the post BUT allows you to see the whole thread.

I'm not sure what problem you are having exactly. can you PM me ur url so I can take a look.

Thanks mate PM sent. Mines doing the opposite as per PM.

Thanks again

FreshFroot 01-30-2011 08:25 AM

If anyone else wants to use the method Wonksta did just do the following

PHP Code:

Go into your templates and edit the display_who_quoted_me templated

Find

<a href="showthread.php?t=$threadinfo[threadid]#post$whoquote[postid]">$threadinfo[title]</a>

REPLACE

<a href="showthread.php?p=$whoquote[postid]#post$whoquote[postid]">$threadinfo[title]</a

Cheers.

Wonksta 01-30-2011 09:02 AM

I was just thinking... I have reported posts auto create a thread on behalf of the reporter that gets posted in invisible and private Mod Room now the post contains a quote of the persons posts.

Will this Mod notify the user that they have been quoted in the Mod Room listing the title etc?

Alfa1 01-30-2011 02:34 PM

Quote:

Originally Posted by Wonksta (Post 2156369)
I was just thinking... I have reported posts auto create a thread on behalf of the reporter that gets posted in invisible and private Mod Room now the post contains a quote of the persons posts.

Will this Mod notify the user that they have been quoted in the Mod Room listing the title etc?

Very good point! I think most boards have post reports working as such.

Alfa1 01-30-2011 03:10 PM

I have installed the new version and it works!

bug: setting usergroups to 0 does not work. That turns it off.
sort of a bug: quoting yourself gives an alert.

The overview in usercp would look nicer if:
- the font would be smaller. (smallfont)
- display it like this:
Quote:

Member_X quoted your post in the thread_title on [date;time]
Please make that all one line.

It would be nice if there were 2 different phrases for the notification:
1 member quoted you.
x members quoted you.

The latter being plural.

Below the 'Who Quoted Me' block, there should be some empty space. I have Paul M's modification installed to show a 'latest reputation given' block there and both blocks touch each other. There should be some distance. Adding a <br/> at the end of the usercp_who_quoted_me template resolves that.

I think that the link should really lead to the post where the quote is. The way to handle the target location that you have posted earlier in the thread should be in the xml.

Thank you!

Alfa1 01-30-2011 04:09 PM

I have reworked the usercp listing to the following:
display_who_quoted_me
Code:

<tr>
    <td class="alt1Active" width="80%">
        <a class="smallfont" href="member.php?$session[sessionurl]u=$whoquote[userid]">$whoquote[username]</a> <a class="smallfont"> quoted your post in the thread: </a> <a class="smallfont" href="showthread.php?p=$whoquote[postid]#post$whoquote[postid]"><b>$threadinfo[title]</b></a>
    </td>
    <td class="alt1Active">
    <div class="userinfo">
        <div class="smallfont">$whoquote[dateline] <span class="time">$whoquote[timeline]</span></div>
        </td>
</tr>

Looks better now IMHO.

Wonksta 01-30-2011 10:42 PM

Quote:

Originally Posted by Alfa1 (Post 2156513)
I have reworked the usercp listing to the following:
display_who_quoted_me
Code:

<tr>
    <td class="alt1Active" width="80%">
        <a class="smallfont" href="member.php?$session[sessionurl]u=$whoquote[userid]">$whoquote[username]</a> <a class="smallfont"> quoted your post in the thread: </a> <a class="smallfont" href="showthread.php?p=$whoquote[postid]#post$whoquote[postid]"><b>$threadinfo[title]</b></a>
    </td>
    <td class="alt1Active">
    <div class="userinfo">
        <div class="smallfont">$whoquote[dateline] <span class="time">$whoquote[timeline]</span></div>
        </td>
</tr>

Looks better now IMHO.

Screenshot?

Wonksta 01-31-2011 12:59 AM

Doesn't seem to notify me if someone quotes my post that contains links, it's a bit of a hit and miss when a URL is pasted. Can anyone check?

FreshFroot 01-31-2011 03:06 AM

I'll work on some of the suggestions later on.

As for the url thing.. it could be due to checks for if a post was replied too or not. I'm just guessing right now.

when you mean url does www.name.com work fine or is it a problem when you add http://


All times are GMT. The time now is 04:27 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.02588 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_php_printable
  • (4)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
  • (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