PDA

View Full Version : [RELEASE] Favorites v1.0


25 Oct 2000, 04:58
it's all here -> http://www.vbulletin.org/hacks/hacks.php?action=gethack&id=31

(I hope it works for you :>)

Creating installs is a +++++! Just putting the templates in a text file and making you create them yourself is so much easier :)

25 Oct 2000, 05:06
brb...

25 Oct 2000, 05:10
Only thing I can add at the moment is some sort of ordering as it displays threads in order of last reply right now.

25 Oct 2000, 05:20
I never cared much for the Rangers until recently ;)

Excellent Hack Rangersfan! Simple to install, took ... , well...see for yourself the amount of time to install...

Thanks!

Wanna See?

http://cheaptalk.marijuana.com <---Just HIT it!

vBulletin rules.

25 Oct 2000, 05:50
Archive now has top_favorites.gif for those of you who use the fivelinks icons.

Fixed 2 bugs so replace favorites.php if you have downloaded already.

25 Oct 2000, 09:45
Very very nice hack ragersfan! Thanks!

One feature suggestion:
When users are adding favorites, have a small pop-up that uses another template (which one should make as simple as possible). This would make adding favorites easy, quick, and users wouldn't have to move out of their current page.

25 Oct 2000, 11:15
excellent its up!

I will change the thread link in my sig and add this to my major update. :)

25 Oct 2000, 11:17
What if we install both Save Threads and Favorites?

Would they get on running side by side?
will only one be really needed?

25 Oct 2000, 13:30
Great hack Rangersfan, thanks :)

I am just having a small problem.... whenever I run http://www.progresstalk.com/forums/favorites.php I get the following error messages:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Do you know what I can change in order to fix these?

Thanks,
-Chris

[edit: formatting]

[Edited by Chris Schreiber on 10-25-2000 at 10:42 AM]

25 Oct 2000, 13:53
Originally posted by Chris Schreiber
Do you know what I can change in order to fix these?


Well I just figured this out.... In my php.ini file there was a line that says: allow_call_time_pass_reference = Off. I changed the value from Off to On.

-Chris

25 Oct 2000, 14:35
Note to others.....If you've downloaded the PHTML version of vBulletin, make sure to change the file extensions in the templates and favorites.php when you install it.

Formatting it now...Hopefully I'll have it up tonight. What a cool little feature.

25 Oct 2000, 14:37
Skeptical : Are you asking me to put javascript into the hack? I can make it an option but by no means will I make it the default. The users are returned to the thread they were on after adding it so I don't see it as a problem.

vBoard : You can have both but they serve the same purpose so only one would be needed

chris: I didn't realize PHP has an issue with pass by reference. The php manual clearly states how to pass by reference but it did not mention that it was something that may not work based on an INI setting. I will look into that further.

25 Oct 2000, 14:40
Originally posted by rangersfan
I will look into that further.

Not a big deal, I was able to get it working... and my php.ini setting may have been different from the defaults (I think I used php.ini-optimized as a starting point). Just an FYI :)

-Chris

25 Oct 2000, 14:53
Ok Chris I fixed the problem so turn the setting back on and retrieve the archive again and replace favorites.php.

I just declared the variables as pass-by-reference in the function definition (as I would have done in C) instead of passing them by reference when I used the function.

Lesane
13 Mar 2002, 11:12
Someone interested in a working version of this hack for 2.2.2? :)

Neo
13 Mar 2002, 15:16
Well... send me to where the file is.. or what it is and I just might