1
Cavan
Send PM hack from newbb not working...
  • 2005/4/18 3:11

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


I found this hack and tried to add it to the newbb_thread.html but it doesn't work, even with updating the module:

<a href="java script:openWithSelfMain('<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$topic_post.poster_uid}>', 'pmlite', 450, 380);"><img src="<{$xoops_url}>/images/icons/sendpm.gif" alt="<{$topic_post.poster_sendpmtext}>" /></a>


This is how it looks in the template:
<{elseif $viewer_can_post == true}>

          <
td class="even" align="right">
          <
a href="java script:openWithSelfMain('<{$xoops_url}>/pmlite.php?send2=1&to_userid=<{$topic_post.poster_uid}>', 'pmlite', 450, 380);"><img src="<{$xoops_url}>/images/icons/sendpm.gif" alt="<{$topic_post.poster_sendpmtext}>" /></a>
            <
a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" /></a>
          </
td>

Anyone using this hack? Does someone know how to get it working?

2
Cavan
Re: Send PM hack from newbb not working...FIXED
  • 2005/4/18 5:48

  • Cavan

  • Friend of XOOPS

  • Posts: 218

  • Since: 2004/11/28


Missed the space between the words java and script:

java script (should be javascript)

All better now...what a handy hack to have for newbb. Thank you!

Login

Who's Online

144 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

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

Latest GitHub Commits