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)
-   -   End-User Options - vBFavorites (https://vborg.vbsupport.ru/showthread.php?t=132401)

rrr 02-03-2007 05:36 AM

Quote:

That would be the same conditional as the one around the navbar link, just reverse that.
I apologize for my ignorance, how would I reverse that? I tried

Code:

<if condition="!$show['vbfavorites_fav_lastthreads'] OR !$show['vbfavorites_fav_lastposts'] OR !$show['vbfavorites_fav_lastusers']">

And

<if condition="!$show['vbfavorites_fav_lastthreads'] OR $show['vbfavorites_fav_lastposts'] OR $show['vbfavorites_fav_lastusers']">

But neither of them worked. I also tried putting an else after the statement and it didn't work either.

akanevsky 02-03-2007 01:27 PM

Quote:

Originally Posted by rrr (Post 1173484)
I apologize for my ignorance, how would I reverse that? I tried

Code:

<if condition="!$show['vbfavorites_fav_lastthreads'] OR !$show['vbfavorites_fav_lastposts'] OR !$show['vbfavorites_fav_lastusers']">

And

<if condition="!$show['vbfavorites_fav_lastthreads'] OR $show['vbfavorites_fav_lastposts'] OR $show['vbfavorites_fav_lastusers']">

But neither of them worked. I also tried putting an else after the statement and it didn't work either.

The easiest way to reverse it is to place the whole original condition string into parenthesis and then prepend it with an exclamation sign. Or, replace all instances of OR with AND in the first code you posted.

Either:

Code:

<if condition="!($show['vbfavorites_fav_lastthreads'] OR $show['vbfavorites_fav_lastposts'] OR $show['vbfavorites_fav_lastusers'])">
OR

Code:

<if condition="!$show['vbfavorites_fav_lastthreads'] AND !$show['vbfavorites_fav_lastposts'] AND !$show['vbfavorites_fav_lastusers']">

rrr 02-03-2007 02:50 PM

Quote:

Originally Posted by Psionic Vision (Post 1173651)
The easiest way to reverse it is to place the whole original condition string into parenthesis and then prepend it with an exclamation sign. Or, replace all instances of OR with AND in the first code you posted.

Either:

Code:

<if condition="!($show['vbfavorites_fav_lastthreads'] OR $show['vbfavorites_fav_lastposts'] OR $show['vbfavorites_fav_lastusers'])">
OR

Code:

<if condition="!$show['vbfavorites_fav_lastthreads'] AND !$show['vbfavorites_fav_lastposts'] AND !$show['vbfavorites_fav_lastusers']">

Weird, I tried both of those and neither seemed to work. If I have favorites saved, it still shows the text in the IF, if I don't have favorites saved, it still shows the text.

Could it be because if I have a favorite thread and a favorite post, but NOT a favorite user, the if conditional still gets triggered the same as if I didn't have any of the 3?

akanevsky 02-03-2007 05:36 PM

Quote:

Could it be because if I have a favorite thread and a favorite post, but NOT a favorite user, the if conditional still gets triggered the same as if I didn't have any of the 3?
The conditional is true when none of the favorites are added, and it is false if there is at least one favorite item.

blogtorank 02-04-2007 08:19 PM

Quote:

Originally Posted by Psionic Vision (Post 1131961)
Status: Not Installed :D

Awwwwww just caught this, I clicked it now just for you on 4 boards of mine! However I'm catching hell on one and not sure what's up but I'll figure it out later on the other one...

Status: Installed so take that back!

akanevsky 02-04-2007 08:47 PM

Quote:

Originally Posted by blogtorank (Post 1174744)
Awwwwww just caught this, I clicked it now just for you on 4 boards of mine! However I'm catching hell on one and not sure what's up but I'll figure it out later on the other one...

Status: Installed so take that back!

Thanks :)

blogtorank 02-05-2007 03:23 AM

Hey Anthony having issues with this here... I never had an issue with installing any of your hacks maybe I only have the most hacked boards out there, but I just can't find where this is going wrong here.

The navbar favorites is not showing up or anything (Odd S@#% if you ask me). I go to the URL www.mydomain.com/forums/vbfavorites.php "No permissions" to the Admin... I am probably just too damn tired from all of these damn boards I don't know dude, I went through all of your instructions 3 x to make sure and not a chance did I miss nothing!

I'm PM a URL to see what I mean if you like.

All the best!

djbaxter 02-05-2007 03:17 PM

Suggestion:

When I hover over any of your add-ons from the index, this is all I can see (truncated):

Quote:

/*================================================= =====================*\
|| vBFavorites
||
|| ================================================== =====
|| Brought to you by:
|| VisionScripts
|| Premium PHP & vBulletin Solutions!
|| ================================================== =====
||
|| Author : Anthony Kanevsky - aka Psionic Vision
|| Rent-a-Coder ID : #1360893
|| Works on : vBulletin 3.5 / 3.6
|| Released : Dec 01, 2006
||
|| Time required to install: 5 minutes
|| Difficulty: easy
\*================================================ ======================*/
It would be more helpful to post your add-ons with the following on top of that notice, so that index surfers could actually see what your mod is about:

Quote:

DESCRIPTION

This modification gives your users an opportunity to create their own personalized menus of favorite threads, posts and users within your bulletin board.

akanevsky 02-05-2007 08:39 PM

Quote:

Originally Posted by blogtorank (Post 1174947)
Hey Anthony having issues with this here... I never had an issue with installing any of your hacks maybe I only have the most hacked boards out there, but I just can't find where this is going wrong here.

The navbar favorites is not showing up or anything (Odd S@#% if you ask me). I go to the URL www.mydomain.com/forums/vbfavorites.php "No permissions" to the Admin... I am probably just too damn tired from all of these damn boards I don't know dude, I went through all of your instructions 3 x to make sure and not a chance did I miss nothing!

I'm PM a URL to see what I mean if you like.

All the best!

You are not supposed to go to that URL directly.

Rickeo 02-05-2007 08:57 PM

Installing now nice mod!!!

~Rick~

blogtorank 02-06-2007 12:44 AM

Quote:

Originally Posted by Psionic Vision (Post 1175476)
You are not supposed to go to that URL directly.

Yeah I know that now, however seems there is no favourites showing up in the User CP and the link in the Navbar isn't showing up.... I have rebuilt the style(s) and no avail. Any other ideas?

rrr 02-06-2007 04:58 PM

Quote:

Originally Posted by Psionic Vision (Post 1173791)
The conditional is true when none of the favorites are added, and it is false if there is at least one favorite item.

Any idea why would it still show something if the condition was false?

akanevsky 02-06-2007 05:43 PM

Quote:

Originally Posted by blogtorank (Post 1175650)
Yeah I know that now, however seems there is no favourites showing up in the User CP and the link in the Navbar isn't showing up.... I have rebuilt the style(s) and no avail. Any other ideas?

That is how it is designed. First, add some favorites. Then, the things you listed will show up.

blogtorank 02-06-2007 06:34 PM

Quote:

Originally Posted by Psionic Vision (Post 1176147)
That is how it is designed. First, add some favorites. Then, the things you listed will show up.

Thanks man, nothing showed up at all, I have all the code in the User CP area as your instructions, I'm try this on another forums with a FRESH install to see if there is another hack barring this from working. Should I send you a copy of my User CP style via PM so you can take a look?

akanevsky 02-06-2007 06:53 PM

Quote:

Originally Posted by blogtorank (Post 1176206)
Thanks man, nothing showed up at all, I have all the code in the User CP area as your instructions, I'm try this on another forums with a FRESH install to see if there is another hack barring this from working. Should I send you a copy of my User CP style via PM so you can take a look?

No thanks.

blogtorank 02-06-2007 07:09 PM

Quote:

Originally Posted by Psionic Vision (Post 1176242)
No thanks.

Okay, uninstalled until it's figured out

akanevsky 02-06-2007 07:23 PM

Quote:

Originally Posted by blogtorank (Post 1176257)
Okay, uninstalled until it's figured out

It will never be. This hack works on a default vBulletin installation, and if you run into any problems, that's due to something being wrong with your particular board.

blogtorank 02-06-2007 07:34 PM

Quote:

Originally Posted by Psionic Vision (Post 1176265)
It will never be. This hack works on a default vBulletin installation, and if you run into any problems, that's due to something being wrong with your particular board.

No meaning I uninstalled from my forums man. I was seeing if you wouldn't mind assisting to see if there is a conflict of another hack in there, not here to argue with you and your coding, I basically just wanted to see if you would "assist", guess I cannot blame you for not assisting others in the freebies, thanks anyhow!

akanevsky 02-06-2007 07:40 PM

Quote:

Originally Posted by blogtorank (Post 1176280)
No meaning I uninstalled from my forums man. I was seeing if you wouldn't mind assisting to see if there is a conflict of another hack in there, not here to argue with you and your coding, I basically just wanted to see if you would "assist", guess I cannot blame you for not assisting others in the freebies, thanks anyhow!

No, I only said that I don't want to see "a copy of your usercp style" - it wouldn't help. If, on the other hand, you sent me admincp details after installing the hack - then I could look at it.

Chadi 02-07-2007 08:23 PM

What am I supposed to see in the user control panel? I see no links regarding favorites nor the favorited thread I just added. Also, where do I manually add the link inside quick links menu? Not sure what template/code to add it after.

akanevsky 02-07-2007 10:42 PM

Quote:

What am I supposed to see in the user control panel?
You are supposed to see already added favorites.

Quote:

I see no links regarding favorites nor the favorited thread I just added.
Try refreshing the page.

Quote:

Also, where do I manually add the link inside quick links menu? Not sure what template/code to add it after.
That's not a feature, sorry.

blogtorank 02-07-2007 11:37 PM

Quote:

Originally Posted by Psionic Vision (Post 1177148)
You are supposed to see already added favorites.
Try refreshing the page.

Anthony,

This is the same issue I was facing... I will reinstall and send you the information for admincp and a shelled ssh if you want once I get back to that forums again.

*The issue I am facing is not showing in the User CP like he explained.* I've tried refreshing over and over and no avail but soon enough I'll kindly send you the info that you need for login.

All the best!




PS. That screenshot software is that your own? If so I'm going to purchase it no matter what, cause it is nice!

akanevsky 02-08-2007 12:12 AM

Quote:

Originally Posted by blogtorank (Post 1177170)
PS. That screenshot software is that your own? If so I'm going to purchase it no matter what, cause it is nice!

No, it's a program by Moodysoft.

JohnBee 02-08-2007 02:52 PM

Great hack!
Unfortunately 3 queries on forumhome is much to heavy for the benefits. Any way to reduce this?

akanevsky 02-08-2007 05:41 PM

Quote:

Originally Posted by JohnBee (Post 1177605)
Great hack!
Unfortunately 3 queries on forumhome is much to heavy for the benefits. Any way to reduce this?

A heavy query is defined as "a query with a large amount of data being transferred". These queries only retrieve tiny bits of data, therefore they are not heavy.

BANDiT600 03-18-2007 09:16 PM

Excuse me, but how it looks for postbit_legacy by default??? Post a screenshot please... Thanks!

akanevsky 03-19-2007 12:09 AM

It looks just the same for legacy.

akulion 03-23-2007 05:06 AM

hi
great mod but im having a small issue

in the User CP when I try and delete a thread from my favs
nothing happens, no page refresh, no nothing. Its as if the button dosent work at all

can u help me with this?
thanks
aku

kafi 03-24-2007 12:55 AM

is there any way to show users favorites threads in his profile
and then to show page with "most favoritized threads"???

Thank you

kafi 04-13-2007 03:06 PM

bump

akanevsky 04-13-2007 06:12 PM

Please do not bump my threads. It will not speed up implementation.

Eagle Creek 05-13-2007 01:51 AM

What if you have a huge amount of favorite threads? Is there a decent split or search function?

akanevsky 05-13-2007 12:06 PM

No, there isn't....

Eagle Creek 05-15-2007 11:03 AM

So when I have a lot of favs I get a long page with alle the results, and with my browser search I can find it?

Doesn't this put a high load on the server then?

akanevsky 05-15-2007 05:51 PM

A long list of favorites does not fall under the definition of favorites.

Eagle Creek 05-15-2007 06:28 PM

Wel... I do have about 2000+ favorites in my Internet Explorer ;-).
But I see what you mean.

Lpspider 06-02-2007 09:38 PM

Would it be possible to limit this to a specific member group?

akanevsky 06-04-2007 06:31 PM

Quote:

Originally Posted by Eagle Creek (Post 1248297)
Wel... I do have about 2000+ favorites in my Internet Explorer ;-).
But I see what you mean.

They are not all from the same site, are they? :)

kushal 06-21-2007 05:49 AM

Is there a possibility to publishing some of the favorite threads to other users or user groups. Like publishing them at member page, showing the favorite threads and users? Something like 'best Threads'

raiderlax 08-04-2007 08:34 AM

Does this work with 3.6.8?


All times are GMT. The time now is 06:37 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.01798 seconds
  • Memory Usage 1,839KB
  • 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
  • (6)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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