vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   "In reply to" Hack (threaded info for linear users) (https://vborg.vbsupport.ru/showthread.php?t=61490)

kall 01-20-2005 08:58 AM

Excellent.

One bug tho: http://forums.nzboards.com/showpost....50&postcount=3

Quote:

Posted in reply to *ZenithalRavage*'s post starting "Oopsie :rolleyes:"
How do we go about stripping the bbcode?

mholtum 01-20-2005 09:11 AM

This is exactly what I was looking for~!

zurih 01-20-2005 09:42 AM

how can I do this for threaded/hybrid mode?

WetWired 01-20-2005 11:54 AM

About the bbcode, I'll look into that, and also into adding this to showpost.php (oops :p). As far as threaded and hybrid mode, they already have this information (in the thread tree), so I didn't see the need for the hack to apply there, but I will look into the possibility of adding it there, too.

zurih 01-20-2005 04:59 PM

It would be great to show this info in threaded/hybrid mode too :)
waiting for this :)
thanks!

4number8 01-22-2005 04:53 PM

Thank you, Thank you, Thank you, been wanting this for awhile now, it's working great and no trouble to install at all

Clicking Installed now :)

Excellent work once again.

4number8 01-25-2005 11:56 AM

I was wondering how to make it look like kall's on his site at nzboards.com, does anyone know who to make it look like that, with the bold and colors in it. I think it looks so cool that way, thanks alot to anyone that can help me apply that to my board.

4number8 01-26-2005 02:13 AM

Anyone at all? Please I need this very badly and have fooled with it most of the night.
Quote:

Originally Posted by 4number8
I was wondering how to make it look like kall's on his site at nzboards.com, does anyone know who to make it look like that, with the bold and colors in it. I think it looks so cool that way, thanks alot to anyone that can help me apply that to my board.


kall 01-26-2005 02:36 AM

Quote:

Originally Posted by 4number8
Anyone at all? Please I need this very badly and have fooled with it most of the night.

Here's the relevant piece of code...

HTML Code:

<if condition="isset($post['re_postid'])">
 <div align="top"><em><strong>Posted in reply to <if condition="$post['re_userid']"><a href="member.php?userid=$post[re_userid]">$post[re_username]</a><else />$post[re_username]</if>'s <if condition="$post['re_tittype']!=0">post <if condition="$post['re_tittype']==2">starting</if></if> <a href="$post[re_url]" <if condition="!$post['re_isonpage']">target="_blank"</if>><if condition="$post['re_tittype']==0">untitled post<else />"$post[re_title]"</if></a></div>
</strong></em><br /></if>


4number8 01-26-2005 02:38 AM

Posted in reply to nih (its a blue looking color)'s post starting from nin on this way is all bold)and this part "Interesting. We had no end of users..."is back to the same color as nih, its a blue color, and anyone create this for me please, I tried to pm him but with no reponce

Man you guys are great, for a better understanding, take a look at http://forums.nzboards.com/showthread.php?t=2369 for a better unerstanding of what i'm referring too....many thanks for the one who can come thru fo rme, always in you debt !

WetWired 01-26-2005 04:26 PM

Um, blue is just his link color. Since those parts are links, they are blue.

zurih 02-10-2005 08:35 AM

Quote:

It would be great to show this info in threaded/hybrid mode too :)
waiting for this :)
thanks!
is there any change of implementing this?

thanks

kall 02-17-2005 10:36 PM

Quote:

Originally Posted by WetWired
Um, blue is just his link color. Since those parts are links, they are blue.

Still waiting on the stripping bbcode bit. :)

yoyoyoyo 02-18-2005 08:10 PM

Quote:

Originally Posted by WetWired
Well, that looks right; maybe you accidentally pasted it in the middle of something. The where depends on preference and what you've already done to your postbit. In the case of my example image, you would search for
Code:

                <if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a></if>
in your postbit_legacy template and put it before it, except to left align it, I modified it slightly, so paste
Code:

<if condition="isset($post['re_postid'])">
<span class="smallfont" style="float:left;">
Posted in reply to <if condition="$post['re_userid']"><a href="member.php?userid=$post[re_userid]">$post[re_username]</a><else />$post[re_username]</if>'s <if condition="$post['re_tittype']!=0">post <if condition="$post['re_tittype']==2">starting</if></if> <a href="$post[re_url]" <if condition="!$post['re_isonpage']">target="_blank"</if>><if condition="$post['re_tittype']==0">untitled post<else />"$post[re_title]"</if></a>
</span>
</if>
                &nbsp;

before that part I said to search for.

when using the above code the "IN REPLY TO" is on the right hand side, directly below the "report message" button, etc.. Can anyone help? I want the "in reply to" to appear on the left hand side, below the day/date.

WetWired 02-20-2005 04:24 PM

Quote:

Originally Posted by yoyoyoyo
when using the above code the "IN REPLY TO" is on the right hand side, directly below the "report message" button, etc.. Can anyone help? I want the "in reply to" to appear on the left hand side, below the day/date.

If that code doesn't work right, you must have a modified postbit. Post your postbit template (or postbit_legacy, whichever is enabled) and I will try to help you.

zurih 03-03-2005 07:08 AM

WetWired, is it possible to implement this in hybrid\threaded mode?

thanks

Greebo 03-10-2005 02:12 PM

Quote:

Originally Posted by zurih
WetWired, is it possible to implement this in hybrid\threaded mode?

thanks

Why would you need to? Especially in threaded mode where you can see the thread reply chain right there...

Greebo 03-10-2005 02:39 PM

Great hack! Thanks!

Renada 06-30-2005 02:16 AM

Hi,

Does anyone have a fix for Firefox? I have this working in IE but it doesn't show up in Firefox unless the user is logged out.

Thanks,
Renada

Logikos 06-30-2005 02:46 AM

This should be working in firefox also. Works for me

Renada 06-30-2005 09:05 PM

Quote:

Originally Posted by Live Wire
This should be working in firefox also. Works for me

Doesn't seem to matter what I do I can't get it to show up in Firefox. :(

WetWired 07-02-2005 12:50 AM

Quote:

Originally Posted by Renada
Hi,

Does anyone have a fix for Firefox? I have this working in IE but it doesn't show up in Firefox unless the user is logged out.

Thanks,
Renada

You're saying that the reply info only shows up for guests in certain browsers? Are you using linear mode consistantly? In this version, the info only shows on linear mode, and not hybrid or threaded mode (though this will not be the case when I release the plugin version for 3.5)

Renada 07-02-2005 05:07 PM

Quote:

Originally Posted by WetWired
You're saying that the reply info only shows up for guests in certain browsers? Are you using linear mode consistantly? In this version, the info only shows on linear mode, and not hybrid or threaded mode (though this will not be the case when I release the plugin version for 3.5)

WetWired,

Thanks for your reply. The problem I was having was it would show up to guests but not to logged in users. I totally removed all the changes and redid it and it's working perfectly. :)

Thanks for doing this, its really really useful - clicks install.

Regards,
Renada

BBH 10-29-2006 08:32 PM

Hi,

I'm new to these boards and I've been running a small private board that was formerly on CompuServe. My users are screeming for this information.

I'm not really sure about the term "hack." Sounds like I'd be required to open up a PHP file and insert code. I'll have a look at the files, but my real question is two fold:

1) Has this been tested in 3.6.2?

2) Does a hack need to be "re-hacked" every time vBull updates the application?

I'm very new to this, so please be easy on my. I'm reading "PHP for Dummies;" but at the moment I'm dummer than Bush :paranoid:.

WetWired 10-29-2006 10:12 PM

As indicated in the opening post, there is a newer version at
https://vborg.vbsupport.ru/showthread.php?t=93247
which is designed for 3.5 . That version does not require code insertion.

Noone has verified that that version works with 3.6, though it may; as simple as it is to add and remove the plugin version, it can't hurt to try (please post your results in that thread, either way).

BBH 10-30-2006 01:48 AM

Quote:

Originally Posted by WetWired
As indicated in the opening post, there is a newer version at
https://vborg.vbsupport.ru/showthread.php?t=93247
which is designed for 3.5 . That version does not require code insertion.

Noone has verified that that version works with 3.6, though it may; as simple as it is to add and remove the plugin version, it can't hurt to try (please post your results in that thread, either way).

Hi,

I installed (I think) the modification is discribed in the 3.5 version. There was no change to the display at all. I am new, and I'm not sure at all what "style" (postbit-legacy or just postbit). This change would be fantastic; but I'm not getting it to work.

Bern

WetWired 10-30-2006 04:00 AM

While there are no manual code changes, you have to change the templates for the changes to become apparent.

You can edit the templates in "Styles & Templates"|"Style Manager". Click the <<>> button to open the list of templates. Double click "Postbit templates >>" from the list to see the postbit templates. The changes are pretty simple. You just need to search for the code snippets in the style and place the stuff above and below. The only complicated thing is that if you have horizontal postbits (the default), you need to edit the "POSTBIT" template using the stuff in the first section, while if you have vertical postbits (like here), you need to edit the "postbit_legacy" template using the stuff in the second section.

BBH 10-30-2006 11:32 AM

I pasted into Postbit the code for "horizontal" though just putting "Posted" above the if clause seemed a bit odd. I tried it with and without the word "Posted". With no joy. Today, I'll try it with BOTH styles changed, and get back to you with the result. I'd love to confirm your hack works in 3.6 and my users are going to kill me if I don't get something done soon. There is talk of going back to CompuServe.

If my next try fails, I will copy what I pasted into the styles to you and we'll see what I'm doing wrong.

Thanks for your help.

Quote:

Originally Posted by WetWired
While there are no manual code changes, you have to change the templates for the changes to become apparent.

You can edit the templates in "Styles & Templates"|"Style Manager". Click the <<>> button to open the list of templates. Double click "Postbit templates >>" from the list to see the postbit templates. The changes are pretty simple. You just need to search for the code snippets in the style and place the stuff above and below. The only complicated thing is that if you have horizontal postbits (the default), you need to edit the "POSTBIT" template using the stuff in the first section, while if you have vertical postbits (like here), you need to edit the "postbit_legacy" template using the stuff in the second section.


BBH 10-30-2006 12:01 PM

I'll be damned. We're on legacy and that code works okay.

I'll let the members +++++ about how this is not good enough, and I'll get back to ya with any 3.6 hicups I might find.

Thank you VERY much for writing this hack.

Bern


All times are GMT. The time now is 12:50 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.01366 seconds
  • Memory Usage 1,819KB
  • 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_html_printable
  • (13)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
  • (29)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