![]() |
Ok, bunch of things here, I think
1. Templates: this is the full list of templates makeprivtables.php creates. Quote:
3. PM Button in Posts. Use what you want, but here's the syntax: Code:
private.php?action=newmessage&toid=$userid 4. Looked in to checkboxes real quick and they don't work how I wish they did - they only return the last value. Might have to talk to John a little about this. |
Quote:
Namely, uncomment all these lines: (they're all at the top) Code:
//$DB_site->query("DROP TABLE privatercvd"); Back to work... |
Ed,
Go to my forum at http://www.atlasf1.com/bb/index.php and register and send me (bira) a pm, and then have a look at the delete buttons I added to the PM list :) Also, as for the URL from posts - it will also work with the fix I posted, same thing :) And lastly -- what do you mean by "fixed "icons off" bug"? Thanks :) |
Since you turned off icons in your forum, it wasn't returning anything. In the template for newmessage (I don't even remember what it's called now!), just leave posticons and it will instead insert a <input type="hidden"...> in place of the icons - stops that error :D
|
Can someone come up with a good private messaging 'icon' cause my artistic ability is erm, limited :p
|
Ah Ed, that's what I did, so I guess there's no point in me downloading the new version.
Mark - I'm working on it, though don't hold your breath :) |
OK, rather than running it all again, could someone let me have a copy of the 'showignore' template as this is also missing from my setup for some reason :(
This is a really great addon Ed - thanks very much for your efforts. I hope that John will adopt it as part of the official release in the next release (or at least something as good - and compatible!) |
bira - sent you a message, I like those delete buttons - unfortunately, they're not really foolproof. One mis-click and Poof!, you just lost a message. If you (or anyone) knows some javascript to bring up an "Are you sure?" type prompt, I'll add it to the official version. :)
PM Buttons - why not just rip it from the UBB version? ;) You know, I've heard about hanging out in certain forums before, but I've never heard about hanging out in a thread! :D |
showignore:
(Please note, I've made a few changes so the replacement variable tags don't get parsed) Code:
{html doctype} |
Here are a few quick PM icons for the lower bar:
http://www.wakeamerica.com/forums/images/pm1.gif http://www.wakeamerica.com/forums/images/pm2.gif http://www.wakeamerica.com/forums/images/pm3.gif http://www.wakeamerica.com/forums/images/pm4.gif |
Thanks guys - great work!
I will add the extra goodies shortly :) |
Quote:
|
You have to upgrade to the newest zip, which I mentioned in that post - or you can just use bira's version. Both should work fine.
|
If you want to have bira's style delete buttons, but don't want an accidental mis-click to delete the message, try this:
in privmsglist, add: Code:
<SCRIPT LANGUAGE="JavaScript"> find: Code:
<td align=center nowrap> Code:
<td align=center nowrap> ---- done there, go into privmsgsbitlist: find: Code:
$timesent</smallfont></td> Code:
<FORM ACTION="private.php" NAME="REPLIER" METHOD="POST" onSubmit="return verify();"><td bgcolor="{second altcolor}" nowrap><center><input type="hidden" name="delete" value="yes"><input type="hidden" name="action" value="dodelete"><input type="hidden" name="msgid" value="$msgid"><input type="hidden" name="table" value="$table"><input type="hidden" name="password" value="$password"><input type="submit" value="Delete" width="1" height="1" style="font-size: 11px;"></center></td></form> There, and you're done. Demo on my site if you want to see how it works ;) |
I /am/ using bira's version, but it isn't working. I will download the new version later on and have a go with that.
Thanks again |
Well, with the new version, I just tested it on my boards and it works fine - http://www.magic-singles.com/cpa/for...?threadid=1382
|
This might seem a little hard, but would it be possible for the user to create subfolders, like "Old PM's", or something like that? Someplace to put the PM's once they have been read, but so that they are not in the "Inbox".
|
Theoretically possible, and I'm chucking around some ideas in my head to do it, but that's gonna be awhile off - just want to get ALL the bugs straightened out first (and UBB import), then I'll add all those cool features!
|
I'm enjoying this thread immensely :)
OK, Ed, another item on my wishlist: some kind of indicator to note whethere a message has been replied to or not. like an R next to the message title on the msglist -- I get confused on who I already replied to and who I didn't, and checking in the "sent" is a hassle :) |
Ed, the delete verifier is perfect, thanks! :)
Wake America - excellent work, thank you. I took one of users and it's already used on my bulletin board :) |
This looks cool. I wonder if you are able to put "quotas" on accounts. IE limit to 20 messages or something??
-Brian |
bira - can't do that yet, at least with the way it's setup now :) (need an extra field, repliedto, that would get set when you reply to a message) ...actually, on second thought, that's not that hard. Hmm...
Brian - nope, quotas aren't possible. Sorry. Well, theoretically they are, but its far too much work for its work, IMHO. (woohoo! Senior-dom! Finally...) [Edited by Ed Sullivan on 06-14-2000 at 03:06 PM] |
Right, i've updated to the latest version, and the private message feature from the topic page is working. However it creates a new problem, Mark's lighbulb solution posted above causes problems for logged out visitors - index.php returns a file of 0 bytes :( Any idea how to fix this ? For the moment, i've pulled it from the script, but I do want the lightbulb back. Any suggestions ?
|
Well, unless his code was malformed, it shouldn't cause any problems - are you sure you haven't mis-copied something? Missing a ";"?? or a "}"?
|
Heres how to add lightbulbs to the private messaging
In the part which is added to index.php find Code:
$newpmcount = $newpmcounta[msgid]; Code:
if($newpmcount == 0) Code:
<img src="$lightbulb"> That's it :) -------------------- That was Mark's 'hack'. It is extremely straightforward and there is no way on earth that it would cause the problem you describe, Craig, unless you copied it wrongly. |
No, no, I hold my hands up - I added it wrong twice! :o I think i've been looking at this screen too long - i'm off to the pub for a bit! :D
Thanks Ed for a superb hack, and for giving me something to do on my day off (as if I needed it!) |
Quote:
|
I can't wait to try this feature ... a little birdie told me about it! ;)
|
Has anyone had the User Registration date show up wrong? I setup a new account to test this with. The correct registration date shows up in the Member Search, but the registered date shows up as December 1969 within PM.
|
Quote:
|
Yep, i'm getting the date problem too...
http://www.ten-tenths.com/forum/show...?threadid=2348 Anyone ? |
The reason for the date bug is again because the hack was basing itself on the 1.1.1 version, whereas John changed the date settings in 1.1.2 - he switched from the MySQL date to the PHP date.
In any case, I removed that line and the one about total posts from the showprivmsg template - who cares about those two in PM anyway :) |
For the sake of continuity throughout the forums, I do! ;)
Is this likely to be fixed up Ed, or should I follow bira's example ? |
Quote:
Better? ~~~~ Men............ ~~~~ ;) [Edited by Me2Be on 06-14-2000 at 07:59 PM] |
Darn, I can't find that time code in the template. Any clues Bira?? I saw timezone, but that was it.
|
I'm sorry Rick, my mistake - it's in the privmsgbit template.
Let me know if you cannot find it there (it will under $username2 and $usertitle) |
I found another glitch. After someone sends you a PM click on profile under their message and it will bring up your own not the person who sent the message. I haven't tested the e-mail form to see who get the e-mail the proper recipiant or yourself.
|
go to the privmsgbit template and edit it:
replace $profile with: Code:
<a href="member.php?action=getinfo&userid=$fromid" target="_blank"><img src="images/profile.gif" border="0" alt="Click here to see the profile for $username"></a> This will make it work right :) [Edited by bira on 06-14-2000 at 09:04 PM] |
in the same template, replace $emailuser with:
Code:
<A HREF="member.php?action=mailform&userid=$fromid" target=_blank><IMG SRC="images/email.gif" BORDER=0 ALT="Click Here to Email $username"></A> |
A couple of my users asked that the PM login that shows up on the forum homepage will also be available on the forums pages, since many of them have specific forums bookmarked and don't see the forum homepage.
So I did a tiny hack to the hack to have this. Thought I'd share it with you if you're interested. In forumdisplay, above the line // parse header ################## (or anywhere else for that matter which is outside a process), paste the following: Code:
//PM HACK Now do the same with "pmloggedout" - copy the content of this template and paste it into a new template called "pmloggedout2". Edit it as necessary to fit your forumdisplay layout (same as pmloggedin2). Finally, open the "forumdisplay" template and put $pminfo where you want the pm login to show (similar process as to the one for the forums homepage). Enjoy :) |
All times are GMT. The time now is 05:11 AM. |
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:
|