vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   =V.2= vB3 Similar Threads (https://vborg.vbsupport.ru/showthread.php?t=46860)

Schorsch 12-23-2002 01:06 AM

thanks!! very nice modification :)

TECK 12-23-2002 01:28 AM

Quote:

Originally posted by Rolodex
Another question ... why are you pointing the category background in your showthread_simularthreads template to:

<tr align="center" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" background="https://vborg.vbsupport.ru/images/catagory_backing.gif">

Is there a reason for this, or are you "unknowingly" duplicating the same mistake in every update of this hack?

Because he wanted to see if you are checking everything and not install it no matter how.

Velocd, I will recommend your hack as HOTM. :)
Is one of the very few hacks I installed from many out there...

A small recomandation, try to use into the templates the direct variables pulled from the fetched array. No need to redefine them again inside. Look at my code example (permissions)...

Also, for NTLDR, the perms code listed few posts above are set based on my forum settings. I don't use access masks to save a query on all pages (everyone should do the same!!!) So yes, the perms will not be inherited.
Disable the masks, set your perms individually, or even better, write your own set of perms if you want an extra query on showthread.php file (for a total of 4, instead of 3, as it has now the hack). ;)

Velocd 12-23-2002 02:52 AM

Thanks for the comments and suggestion, Teck ;)

I've updated the .zip once again, fixing some minor stuff :p

DrkFusion 12-23-2002 02:55 AM

Great Hack, I installed the first one, I will install this one.

/me clicks install

Bison 12-23-2002 04:08 AM

Quote:

Originally posted by Velocd
It's only one small mistake Rolodex, nobody is perfect, eh? I'm quite lazy as it is, so I'll update it next time I figure it need be. If it's gonna kill you, then well.. I bid you the best farewell ;) j/k
It's not a point of it killing me dude, it just looked like you should have noticed this after the second update ... that's all.

And TECK, you have a way of budding in on sh*t that makes you look even more like the jerk you really are ... sometimes it best to shut the f*ck up when the attention is NOT pointed @ you!

TECK 12-23-2002 07:23 AM

Rolodex, is the way you posted acting like the smart ass. Instead of being normal and posting the error, like:
"Velocd, I noticed this error, I think it should be this way, not this way..."
you decided to show your "superiority".
My example, listed 2 lines above, is a constructive way to correct an issue, not your way, but you cannot realize this.
This guy Velocd made a great addition to vBulletin and instead of being nice and modest you act like the HTML wizo, when is such a small mistake.

Hey, I make those kind of HTML mistakes every day, I'm not as perfect as you are and "I don't notice everything" because, as Velocd said, I'm human. Making a good piece of code (like Velocd's) is alot more important in my eyes then a small template editing typo. I was looking for a solution like this and he made it easy for me because I didn't know I could run a query like the one he wrote... so I also helped him with the perms to make this hack a really good one.
You are right about one thing, I shouldn't waste my time posting to those kind of people like you.

TheComputerGuy 12-23-2002 11:35 AM

I use the Forum Jump, and tried to do what you said to do on page 2...yet..my forumjump still does not show properly...any ideas...

TECK 12-23-2002 01:15 PM

Place the code just about the eval(); and unset the perm and forum cache:
Code:

unset( $iforumcache );
unset( $ipermcache );

// Velocd's code here...

eval("dooutput(\"".gettemplate("showthread")."\");");

It should take care of the problem.

DrkFusion 12-23-2002 01:31 PM

Thanks teck, I was having the same error.

Regards

NTLDR 12-23-2002 02:01 PM

Quote:

Originally posted by Velocd
@NTLDR: When you say inherited permissions, do you mean specific permissions geared to user groups? Also, can you give an example of how it is not working? I have user group and forum permissions set, and this hack is working correctly--unless I am overlooking something.
Example Structure:

-Catagory
--Forum 1

If I set the canview permission for Catagory to no for a usergroup, when using the forum that usergroup cannot see Forum 1, however threads in Forum 1 will still show up as similar threads even if though they can't access the thread.


All times are GMT. The time now is 09:48 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.01699 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
  • (1)bbcode_code_printable
  • (3)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