Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Personal Stickys Details »
Personal Stickys
Mod Version: 1.0.3b, by Mephisteus (Member) Mephisteus is offline
Developer Last Online: Jan 2015 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.2 Rating: (5 votes - 4.20 average) Installs: 113
Released: 08 Dec 2005 Last Update: 03 Jan 2006 Downloads: 195
Not Supported DB Changes Uses Plugins Template Edits Code Changes Additional Files Re-usable Code  

Hack name: Personal Stickys
Version: 1.0.3b
Author: Mephisteus (DarkSSJ3)
Special Thanks To: Floris (The images and being a guinea pig)!

Steps:
1 product import
1 file to edit - forumdisplay.php (2 edits)
3 template edits
2 image uploads

Info:
Let members on your forums have their own 'personal' sticky thread. People sticking a thread using this function will have the thread only appear 'stuck' to them (and if its a 'real' sticky thread). See screenshots for the obvious

Tested on:
3.5.0 - OK
3.5.1 - OK
3.5.2 - OK
3.5.3 - OK
3.5.4 - OK

Features
- Neat icons!

MAKE A BACKUP
I will not be held responsible for any damage this hack causes to your forum.
This hack is NOT supported. If you get support, consider yourself lucky.
I reserve the right to REMOVE the hack at any time without prior notice.

Please keep any bug reports in this thread.

History
1.0.3b (to upgrade reimport product xml IMPORTANT)
Bugfix
- Fixed a bug that would give SQL errors if someone didnt have personal stickys.
1.0.3 (to upgrade reimport product xml and apply file edits)
Bugfix
- Fixed "The stickied thread will be stickied to the top of its own page, not the first page per see.". It will now be stickied to the first page (I have NOT tested this on different settings due to lack of time).
1.0.2 (to upgrade reimport product xml)
Feature
- Redirect on stick/unstick selection
1.0.1 (to upgrade reimport product xml)
Bugfix
- Fixed an error that would appear in UserCP and in the subscriptions area if you had subscribed threads.
1.0.0
Initial release

Take me to the 3.7.x version

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot1.jpg
Views:	2200
Size:	30.7 KB
ID:	39049   Click image for larger version

Name:	screenshot2.jpg
Views:	2036
Size:	58.4 KB
ID:	39050  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #31  
Old 10 Dec 2005, 02:02
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Originally Posted by croportal
when i go to edit last template i have delete that in threadbit <if condition="$personalsticky"> <img class="inlineimg" src="$stylevar[imgdir_misc]/mystickypin.gif" alt="$vbphrase[sticky_thread]" /> </if>


and error appear The following error occurred when attempting to evaluate this template:

Parse error: parse error, unexpected T_STRING in /home/hrportal/public_html/forum/includes/adminfunctions_template.php(3519) : eval()'d code on line 80

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.

I also made a mistake where I place step #2
There was another instance of
<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
</if>
</td>
without the </tr> I didn't get any errors but it didn't work at first because I overlooked the instructions.




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*******************************************************

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*******************************************************

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

*******************************************************

Instruction given were great and Installed and working.

Great work Mephisteus!

Last edited by Mastar; 10 Dec 2005 at 02:04.
Reply With Quote
  #32  
Old 10 Dec 2005, 03:57
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Works nice on ut2007world.com (3.5.2)
Reply With Quote
  #33  
Old 10 Dec 2005, 10:11
Floris Floris is offline
 
Join Date: Jan 2002
* Waits for 1.0.3 before upgrading
__________________
My community; http://wetalknation.net
Reply With Quote
  #34  
Old 10 Dec 2005, 11:00
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Real name: Andy
Originally Posted by Floris
* Waits for 1.0.3 before upgrading
I doubt there'll be a 1.0.3 any time soon, both reported issues have now been fixed with 1.0.1 and 1.0.2 respectively, and there isn't much room for expanding this one..

Unless he gets really bored and adds a usergroup permission..
Reply With Quote
  #35  
Old 10 Dec 2005, 11:50
Floris Floris is offline
 
Join Date: Jan 2002
I know, but I really hope some day it will include a 'list my personal sticky threads' link in the usercp
__________________
My community; http://wetalknation.net
Reply With Quote
  #36  
Old 10 Dec 2005, 12:48
Justdave Justdave is offline
 
Join Date: May 2005
Dave Clicks *Install*

Thanks Master.
Reply With Quote
  #37  
Old 10 Dec 2005, 22:07
Floris Floris is offline
 
Join Date: Jan 2002
I could not wait ..upgraded to 1.0.2
__________________
My community; http://wetalknation.net
Reply With Quote
  #38  
Old 11 Dec 2005, 05:02
Code Monkey's Avatar
Code Monkey Code Monkey is offline
 
Join Date: May 2004
*clicks install*

Most excellent. It would be nice if it taged the thread like stickies do. Maybe instead of Sticky:, it could say MySticky:
Reply With Quote
  #39  
Old 11 Dec 2005, 06:06
icemann's Avatar
icemann icemann is offline
 
Join Date: Sep 2005
Just make your own buttons, here's what mine look like.
Attached Images
File Type: png sticky.png (187.9 KB, 72 views)
__________________
SpOoKyIgLoO
Reply With Quote
  #40  
Old 12 Dec 2005, 07:13
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
I am having a bit of trouble.

I have made all of the template changes. Imported the product and uploaded the images, but if I log-in as a regular user and click on thread tools there is no option for personal stickies.
Reply With Quote
  #41  
Old 12 Dec 2005, 09:49
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Is there an option for subscriptions (Its in the same if-statement)
Reply With Quote
  #42  
Old 12 Dec 2005, 17:19
twincamfxd twincamfxd is offline
 
Join Date: Nov 2005
I installed it and everything looks OK, but when I try to stick a thread it dissapears lol. Any idea what I did wrong? I am not sure where the threads are going, but they just vanish. Everything else looks awesome though.
Reply With Quote
  #43  
Old 13 Dec 2005, 01:47
FROGGYJ FROGGYJ is offline
 
Join Date: Sep 2005
this mod cause these problems for me.

1. If you tried to access your usercp you get the following error

"Warning: in_array(): Wrong datatype for second argument in /usercp.php(439) : eval()'d code on line 32"

2. if you hit menu > subscribed threads you get the following erro

Warning: in_array(): Wrong datatype for second argument in /subscription.php(583) : eval()'d code on line 32
Reply With Quote
  #44  
Old 13 Dec 2005, 06:09
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Originally Posted by Mephisteus
Is there an option for subscriptions (Its in the same if-statement)
Yep.

But the interesting thing is that in my SHOWTHREAD template div is used instead of tr.

So you code to find is


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

while mine is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I amended your code to work with div instead, but it should still show.
Reply With Quote
  #45  
Old 13 Dec 2005, 16:01
Mephisteus's Avatar
Mephisteus Mephisteus is offline
 
Join Date: Dec 2001
Originally Posted by twincamfxd
I installed it and everything looks OK, but when I try to stick a thread it dissapears lol. Any idea what I did wrong? I am not sure where the threads are going, but they just vanish. Everything else looks awesome though.
Did you do the first template edit (its the only reason I can think of why it would cause threads to disappear)

Originally Posted by FROGGYJ
this mod cause these problems for me.

1. If you tried to access your usercp you get the following error

"Warning: in_array(): Wrong datatype for second argument in /usercp.php(439) : eval()'d code on line 32"

2. if you hit menu > subscribed threads you get the following erro

Warning: in_array(): Wrong datatype for second argument in /subscription.php(583) : eval()'d code on line 32
Are you using 1.0.2, this issue was adressed in 1.0.1

Originally Posted by theArchitect
Yep.

But the interesting thing is that in my SHOWTHREAD template div is used instead of tr.

So you code to find is


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

while mine is:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I amended your code to work with div instead, but it should still show.
Is that a costumized template? And what exactly do you mean with the last bit. If there isnt a <table> <tr><td> wont do much :P
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:43.

Layout Options | Width: Wide Color: