| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 4267|Reply: 2
Collapse the left

show Signature place in Dx2.5

[Copy link]

 Palestine

Post time: 2012-06-15 10:20
| Show all posts |Read mode
hi all

i tried to add Signature or edit it on DX2.5 i can't found the place !!


and this problem from discuz.net not from here

so i found the solution  from discuz.net

open source\function\cache\cache_setting.php file


find


  1.                             $temp[$pval['fieldid']] = $pval['fieldid'];
  2.                         }
  3.                     }
Copy the Code



add this code under it

  1.                     foreach($val['field'] as $fieldid) {
  2.                         if(!in_array($fieldid, $temp)) {
  3.                             $temp[$fieldid] = $fieldid;
  4.                         }
  5.                     }
Copy the Code



and active from admincp
(this orginal pics because i install new win7 so no english ver)








 Russia

Post time: 2012-06-15 11:32
| Show all posts
This (added by you) code allready exists in latest release (line #78):
  1.                                         foreach($profile_settings as $pval) {
  2.                                                 if(in_array($pval['fieldid'], $val['field'])) {
  3.                                                         $temp[$pval['fieldid']] = $pval['fieldid'];
  4.                                                 }
  5.                                         }
  6.                                         foreach($val['field'] as $fieldid) {
  7.                                                 if(!in_array($fieldid, $temp)) {
  8.                                                         $temp[$fieldid] = $fieldid;
  9.                                                 }
  10.                                         }
Copy the Code

 Palestine

 Author| Post time: 2012-06-15 13:31
| Show all posts
maybe this code was used to old versions
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-05-08 15:05 GMT+3 , Processed in 0.037951 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list