11
DjMikeWatt
Re: PM notification via email?
  • 2007/11/5 21:26

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


Well, I installed this, but now the PM button doesn't work... nothing happens when I click the PM button on another user's profile... any thoughts?

Worst case scenario, can you point me to where I can find original files to restore previous functionality?

www.WattProductions.com



12
DjMikeWatt
Re: copying "inbox" w/ new indicator
  • 2007/11/4 20:52

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


STUIE -

Thank you very much... it does work. Now I'm going to sit and study it to see how it works...

One other question pops up, though... what can I change to maintain the highlight and bold properties of the area when new messages are present? I'd like for the Inbox to really stand out when there are new messages so that the user is sure to see that they have new messages waiting... just like the original block_user_menu file does when the inbox has new messages.

Resized ImageResized Image



13
DjMikeWatt
Re: copying "inbox" w/ new indicator
  • 2007/11/4 8:24

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


An expert user I do not make, but I think I've figured thtat the issue here is that at the time the THEME.HTML file is setting up the horizontal nav bar, the variable {$block.new messages} has not yet been retrieved.

What can I do to move the retrieval of that variable to earlier in the page?



14
DjMikeWatt
Re: copying "inbox" w/ new indicator
  • 2007/10/31 6:59

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


Yeah, I don't really know what that means...

Why can't I copy the code from the system_block_user.html file? It works in that block, why would it not work in the theme.html?

Isn't there a piece of code I can paste in there that will provide the functionality I'm looking for?

Just a link that says "Inbox" and points to "/viewpmsg.php" but that will show new messages when they exist... as in:

Inbox(3)

Seems like this shouldn't be all that difficult...



15
DjMikeWatt
Re: copying "inbox" w/ new indicator
  • 2007/10/31 3:16

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


www.WATTPRODUCTIONS.COM

Okay - so... here's where I am...

Right now, the horizontal nav bar looks like this:
<td class="topnav" align="center" colspan="3"> <a href="/user.php?xoops_redirect=/">Login</a
            &
nbsp;&bull;&nbsp; <a href="/">Home</a> &nbsp;&bull;&nbsp; <a href="/user.php">My 
            Account
</a> &nbsp;&bull;&nbsp;<class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> 
            (<
span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a>&nbsp;&bull;&nbsp
            <
a href="/notifications.php">Notifications</a> &nbsp;&bull;&nbsp
            <
a href="/user.php?op=logout">Logout</a></td>

Right now I have the two parenthesis visable on the page and they link to "/viewpmsg.php" but the word INBOX still doesn't appear and the number of messages waiting won't appear either...

I'm learning as I go... can anyone see what I can do to make this work??

Thank you so much!
Mike



16
DjMikeWatt
Re: copying "inbox" w/ new indicator
  • 2007/10/30 11:00

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


hmmm... nobody??



17
DjMikeWatt
Re: More data in users table
  • 2007/10/29 9:33

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


Well, I'll keep my eye on it... I guess for now I'll just create a separate table altogether that I store that data in... I just wanted it all to be part of the same table, but it is what it is, I guess...

This is by far the best CMS I've ever used... gotta take the bad with the good, right?



18
DjMikeWatt
PM notification via email?
  • 2007/10/29 9:31

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


Is there a setting for users to elect to get an email alerting them when they receive a new PM on the site? I assumed that would be easy, but I can't seem to find it...

www.WattProductions.com



19
DjMikeWatt
copying "inbox" w/ new indicator
  • 2007/10/29 9:14

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


I'd like to turn off the user menu block, opting instead to put those links elsewhere in the site... my only question is, how can I copy the code from system_block_user.html over to the horizontal nav bar in my theme's theme.html file so that it will indicate new messages waiting in the horizontal nav bar? This seems like it should be easy to do, but then again, I'm not really all that good...

I think it's got to do with the
<{$block.lang_inbox}> (<{$block.new_messages}>)
part... but it's not that simple, as I figured out... when I put that into theme.html it just displays that exactly as it is above...

Any thoughts?



20
DjMikeWatt
Re: More data in users table
  • 2007/10/29 9:07

  • DjMikeWatt

  • Just popping in

  • Posts: 41

  • Since: 2007/4/7 2


Ah, I didn't know that... of course, I'm also deathly afraid of attempting an upgrade for fear of messing everything up! I'll read the docs and give it a shot, though.




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

103 user(s) are online (58 user(s) are browsing Support Forums)


Members: 0


Guests: 103


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits