The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello ,
i used this code to know number of (postid | threaid) , when user Browse it PHP Code:
works very good with Default links like this PHP Code:
PHP Code:
Any solution, or another way to know the number of the Post Who user Browse it At this moment?! Thank ! |
#2
|
||||
|
||||
![]()
Any solutions or suggestions ?
|
#4
|
||||
|
||||
![]() Quote:
so , i need to know is user open this alert of post or not , to Delete it .. hook : global_start code : Code:
$vbulletin->input->clean_gpc('r', 'postid', TYPE_UINT); $vbulletin->db->query_write("DELETE FROM " . TABLE_PREFIX . " alert_post WHERE ".intval($vbulletin->GPC['postid'])." in (postid) and userid = ".$vbulletin->userinfo['userid']." "); this code work good when user open post whit Default links [vb/showthread.php?p=22] but with vbseo links [vb/t18/#post22] sometimes work ,sometimes not work ... And in session table don't add number of postid , just add threadid [showthread.php?t=5] on filed location . so i need any way to know if this user open this postid or not . |
#5
|
||||
|
||||
![]()
the code in above working with VBSEO links , but must refresh the page Each time to appears Postid ...
Any Solutions? |
#6
|
||||
|
||||
![]()
still wating , if there any another way to get number of postid from link .
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|