![]() |
Flag PM's
This hack came about as i was goint through my PM's at vborg. Recently i have been recieving a large number of PM's and some of them had important instructions from other members requesting HELP ......
BUT .... do you think i could find the right PM that contained the info that i wanted ..... NO So i sat down again and did something about it :) 1 file edit 3 templates to edit 1 db table alteration Please Click INSTALL :) |
P.S. it will work within your folders as well
|
vborg isn't a big problem as the amout of PMs one can keep is rather limited.
But on my own board ... I got like 4.000 PMs saved. LOL. Would love to see a search function :) But this might help too, nice idea! |
Trafix, another hack? My girlfriend hates you.
:) In your install instructions: Quote:
Does this hack just allow people to assign a "priority" flag to their PM's???? I'm not sure I follow this yet. |
open pm_messagelist
Find the 2 instances of ************************ colspan="4" *********** change to *********** colspan="5" ooops ... ill fix the readme |
yep just like you would flag an email in outlook express etc
|
COOL! I thought you were working on a pay project, though.. where did you find time for this? I thought you were a little too quiet today LMAO
Thanks much- you must code in your sleep, or while having sex or at the dinner table :D |
Quote:
|
Quote:
|
I assume this allows you to flag multiple PM's?
Nice work trafix.. :) |
This man is on a roll. I think he's after a VB org job myself :)
|
Quote:
@The Realist nah ... but a HOTM would be nice ;) |
HOTM is putty in your hands M8 :)
Quote:
|
BUG: the query is [sql]ALTER TABLE `pmtext` ADD `pmflag` TINYINT DEFAULT '0' NOT NULL ;
[/sql]but the php is: PHP Code:
EDIT: also: first Quote:
Quote:
|
Damn ... yes its gotta go in "pm" i thought the query was right :(
Thnx for picking up on that one nexialys ... ill fix the zip |
If you have already run the query as per the original instructions you will have to run these 2 to fix my stuffup.
This will remove the wrong field [SQL] ALTER TABLE `pmtext` DROP `pmflag` ; [/SQL] [SQL] ALTER TABLE `pm` ADD `pmflag` TINYINT DEFAULT '0' NOT NULL ; [/SQL] |
Can you make it so you can't delete flag messages unless you unflag them, this to prevent accidents?
|
how do you install this hack their r no instructions
|
the readme.tet or .tet.bak
|
rename readme.tet into readme.txt
|
agh right
cheers lionel, it woulodnt open up when i clicked it ill try renameing it thanks |
ive run the query and edited the private.php file but when i try to edit my pm_messagelist template the text i need to find doesnt exist??
it says not found? any ideas? cheer |
This thread isn't too long read the first page. It's worth it. This is a nice little useful hack.
|
yeh have read the first page mate :)
but i cant find this in template pm_messagelist <tr> <td class="alt1"><img src="$stylevar[imgdir_statusicon]/pm_$pm[statusicon].gif" alt="" border="0" /></td> if i cant find it can i just not use this hack then? |
try the pm_messagelistbit
|
ok ive worked it out, the instructions are back to front, the stuff you need to edit in pm_messagelist is actually in pm_messagelistbit and vice versa
looks goo btw any way to change the icons to what ever ones we want? |
If you want to be nice to your members you could adjust the messagelist template to show the icons legend.
|
hey i like that lionel :)
how would i do that :confused: ive just changed my flagged message icons also :) see screen shot :) great hack clicks install |
in pm_messagelist template after
Quote:
add (replace with your image name) Quote:
|
k ill try now :)
|
works a charm :)
thanks mate |
The instructions as written did not work for 3.0.7 due to a few changes in the affected templates, so I re-wrote the instructions and updated them to work with 3.0.7, and also added Lionel's fix to add the status icon legend to the Private Message page.
It should work as advertised now :D |
Thanks for this....it will make my life so much easier :p
|
oops- I forgot to include the file edits in the zip, since I assumed they were carried over from Trafix's install, but to make it easier for everyone to start off fresh the file has been updated to include them as well. so it has all of the info needed from start to finsih. sorry about that.
|
Incredible. This works with 3.60 as a product. Just a couple of changes in the code.
|
Quote:
|
Quote:
You still need to do the template changes and it is also assumed that your table was altered as per original text file. You need to figure out the html for the templates. Mine has other hacks. If you have problems, post and I'll try to help. I also removed TABLE_PREFIX in my version. So you would need to add it to xml |
thanks much
|
All times are GMT. The time now is 01:20 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|