LGforum (2804)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Mr.Easybb (1586)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Bloodbath (745)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Rukiafan (533)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Dom (513)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
puppycheese (446)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
pedro (330)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Neymar (301)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Hitsu (281)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 
Flora (275)
[HOW-TO] View Hidden Content (PMs) Vote_lcap[HOW-TO] View Hidden Content (PMs) Voting_bar[HOW-TO] View Hidden Content (PMs) Vote_rcap 


[HOW-TO] View Hidden Content (PMs)

LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Tue 25 Jun 2013, 17:34
Is there a code that let's onl me view other people's chatbox pms?
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Tue 25 Jun 2013, 21:58
While I think the private messages should stay private I'm sure you have your reasons.

Adding this plug in will allow you to see everything going on.
Code:
[panda=js]avacweb_chat_config.add_event('onload', function() {
    if(avacweb_chat.user('id') === 1) avacweb_chat.can_view_tab = function(){ return true; };
});
This allows the user with ID of 1 to view everything. Change the 1 to whatever your user ID is on your forum.

The problem with this is, it will be difficult to tell when your looking at others private conversations or one of your own. If you hover your mouse over the bit which says Private message: you'll see the users who that message is between. If your username isn't there, then you're not a part of that conversation, and so shouldn't make yourself known.
Nathan AdhityaNathan Adhitya
Status : No status yet...

Posts : 58
Join date : 2012-08-25
Wed 26 Jun 2013, 01:19
psssh LG...
nice code..
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Wed 26 Jun 2013, 12:00
Thank you so much LG ! Yeah, it's for protection and security reasons.

I should keep this code too right?
Code:
        .a_chat_pm tr, .a_chat_pm td, .a_chat_tab tr, .a_chat_tab td { display:none!important; }
        .a_chat_pm:before, .a_chat_tab:before { content: 'Hidden Content'; font-style: italic; }
NeymarNeymar
Status : No status yet...

Posts : 301
Join date : 2012-03-11
Location : Glasgow, Scotland
Thu 27 Jun 2013, 05:27
Yes, you should. That hides PM's from normal members.
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Thu 27 Jun 2013, 11:47
Okay. Cause I kept it, and added that code in the avacwebchatbox javascript thing.
But it didn't work for me.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Thu 27 Jun 2013, 16:06
The 2 codes are completely unrelated. There different languages for a start.

Did you add it below everything else, and change your user ID correctly? It is working fine on a test forum, it means you'll automatically see any tabs.
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Thu 27 Jun 2013, 17:19
Yeah, I changed the user ID and I put below everything.

I can't see the messages. And now the little red X won't appear on a tab. I can't even exit out in a tab ._.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Thu 27 Jun 2013, 20:07
It shouldn't affect the little red X's in anyway. The red X's do not appear with tabs you have added via the config, or in publically viewable tabs users have created, the delete symbol only appear in private message tabs.

Silly question, do you have private messages enabled in your AWC?
There's no real reasons why it wouldn't be working unless something else is messing with the tab system.
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Thu 27 Jun 2013, 22:13
Yes, PMing is enabled in AWC.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Fri 28 Jun 2013, 04:07
Try clearing your browsers cache. I made some changes about a week ago to AWC core, and your browser might still be using a cached version.
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Fri 28 Jun 2013, 04:33
Didn't work.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Fri 28 Jun 2013, 17:51
I need more info then, URL and test account too, because it should work now.
LeoLeo
Status : No status yet...

Posts : 194
Join date : 2012-05-10
Age : 23
Mon 01 Jul 2013, 22:11
It's working now. It didn't before, idk how o.O
avatarJigoku88
Status : No status yet...

Posts : 14
Join date : 2014-12-09
Fri 29 Apr 2016, 14:14
Is this still working ?
avatarGuest
Fri 29 Apr 2016, 14:38
@Jigoku88 wrote:[quotelink="/t1394-how-to-view-hidden-content-pms#p23975"]Is this still working ?

I'm not sure. I didn't test it and I have no intentions to install the code since I trust my members.

Since it's been written by @LGforum I just tagged him to review the code. Eventually all the plug-ins need to be reviewed with the next AWC release.

Regards,

Samantha.
LGforumLGforum
Status : Working to restore AWC!

Posts : 2804
Join date : 2011-10-05
Age : 27
Location : UK
Sat 30 Apr 2016, 01:16
The code above won't work in AWC 2.0, but will in older versions. If this is still something people want I can write a 2.0 compatible code pretty quickly I imagine.
Sponsored content