Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 6
Seite [1]
Caps


Rock the board





Beiträge: 59
# Thema - 18.06.2011 um 20:21 Uhr
Each time I visit my post, it receives a hit count. Hits should count all visits but not a visit by the original author.


Zuletzt editiert von Caps am 19.06.2011 um 18:03 Uhr (1x Editiert)
Inaktiv
Tom08 ClanSphere Team

Supporter
Supporter



Herkunft: Daheim
Beiträge: 2923
# Antwort: 1 - 18.06.2011 um 21:23 Uhr
/mods/board/thread.php

Search for
 
1.
2.
3.
1. / 2. / ... 
   $thread_cells = array('threads_view');
  
$thread_save = array($data['thread']['threads_view'] +1);
  
cs_sql_update(__FILE__,'threads',$thread_cells,$thread_save,$id00);


Add before:
 
1.
1. / 2. / ... 
  if($account['users_id'] != $data['thread']['users_id']){


Add after:
 
1.
1. / 2. / ... 
 }


So all in all it's now:
 
1.
2.
3.
4.
5.
1. / 2. / ... 
  if($account['users_id'] != $data['thread']['users_id']){
  
$thread_cells = array('threads_view');
  
$thread_save = array($data['thread']['threads_view'] +1);
  
cs_sql_update(__FILE__,'threads',$thread_cells,$thread_save,$id00);
}


------------------
Bei Problemen mit Code von mir bitte eine Private Nachricht an mich


Inaktiv
|
Caps
Thread-Ersteller


Rock the board





Beiträge: 59
# Antwort: 2 - 18.06.2011 um 22:16 Uhr
Hi Tom08,

Thank you for the code, but should this basic function be standard within the script? When will this be added?


Zuletzt editiert von Caps am 18.06.2011 um 22:17 Uhr (1x Editiert)
Inaktiv
|
Tom08 ClanSphere Team

Supporter
Supporter



Herkunft: Daheim
Beiträge: 2923
# Antwort: 3 - 18.06.2011 um 23:56 Uhr
I didn't think that it become a standard-function in Clansphere.
Clansphere is no longer in active development. There will be no more Feature-Updates, just Bug- und Securityfixes.

Maybe it will be an option in Coresphere, the successor of Clansphere that is now worked on by the team. (Will take some time ...).



------------------
Bei Problemen mit Code von mir bitte eine Private Nachricht an mich


Inaktiv
|
Caps
Thread-Ersteller


Rock the board





Beiträge: 59
# Antwort: 4 - 19.06.2011 um 00:02 Uhr
Wow, what news. Thank you for this information. Will there be a migration package to CoreSphere?


Inaktiv
|
Tom08 ClanSphere Team

Supporter
Supporter



Herkunft: Daheim
Beiträge: 2923
# Antwort: 5 - 19.06.2011 um 00:22 Uhr
Of course it will be possible to transfer nearly all infromations you have inserted in Clansphere to Coresphere.
But be shure, it will take some time until there will be the next release. So of course you can use Clansphere ;-)

You also will get support for Clansphere in this board.... even whene Coresphere ist released ... ;-)




------------------
Bei Problemen mit Code von mir bitte eine Private Nachricht an mich


Inaktiv
|
Caps
Thread-Ersteller


Rock the board





Beiträge: 59
# Antwort: 6 - 19.06.2011 um 00:24 Uhr
Wheewww - thank you.


Inaktiv
|
Antworten: 6
Seite [1]


Sie müssen sich registrieren, um zu antworten.