Smart Dates Mod

Forum_easyUCP_Desc

Smart Dates Mod

Beitragvon jeepguy_1980 » 20. Jul 2007 07:07

Sorry to keep bothering you guys. I have another bug that I noticed with the easyUCP mod. I have the smart dates mod and it appears on the easyUCP mod 3 times. It is on the bottom of the registration page, the bottom of the preferences page and the top of the avatar page. It should only appear on the preferences page.

Which file should I look to edit?

Traurig dich, zu stören zu halten Kerle. Ich habe eine andere Wanze, die ich mit der easyUCP Änderung beachtete. Ich habe den intelligenten Datumumb. und es aussieht auf dem easyUCP Umb. 3mal. Es ist auf die Unterseite der Ausrichtung Seite, die Unterseite der Präferenzseite und die Oberseite der Avataraseite. Es sollte auf der Präferenzseite nur erscheinen.

Welche Akte sollte ich schauen, um zu redigieren?
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 20. Jul 2007 11:12

Smart Days MOD ???

I don't know this MOD but you mistake is in profile_add_body.tpl
You must place the code between
Code: Alles auswählen
   <!-- BEGIN switch_ucp_prefs -->
   <tr>
     <th class="thSides" colspan="2" height="25" valign="middle">{L_PREFERENCES}</th>
   </tr>
and
Code: Alles auswählen
   <!-- END switch_ucp_prefs -->


You have placed the code between
Code: Alles auswählen
   <!-- END switch_ucp_prefs -->
and
Code: Alles auswählen
   <!-- BEGIN switch_avatar_block -->
;)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 20. Jul 2007 19:47

That causes the block to disappear from every page.

Dieses veranlaßt den Block, von jeder Seite zu verschwinden.
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 20. Jul 2007 23:43

Then there must be changed the code at usercp_profile.php a little.
(A german guide you can find here)

Please attach me the MOD. I'll take a look what will be to do.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 23. Jul 2007 07:39

Sorry for the delay. Here are the files:

Added after 2 days 17 hours 51 minutes:

Are these the files you wanted? Or my moded files?
Dateianhänge
smart_dates_1_0_2.zip
(60.11 KiB) 1304-mal heruntergeladen
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 26. Jul 2007 15:23

Sorry, I did not have time in the last days.
Here are the needet changes:
Code: Alles auswählen
#
#-----[ OPEN ]----------------------------------------------------------------
#

includes/unsercp_register.php

#
#-----[ FIND ]----------------------------------------------------------------
#

//-- mod : Smart Dates ------------------------------------------------------------
//-- add
   if ( $board_config['smart_dates_allow'] )
   {
      $template->assign_block_vars( 'smart_dates', array() );
   }
//-- fin mod : Smart Dates --------------------------------------------------------

#
#-----[ REPLACE WITH ]--------------------------------------------------------
#
# Delete the lines

#
#-----[ FIND ]----------------------------------------------------------------
#

   if ( $ucp_mode == 'ucp_prefs' || $ucp_mode == '' )
   {
      $template->assign_block_vars('switch_ucp_prefs', array() );

#
#-----[ AFTER, ADD ]----------------------------------------------------------
#

//-- mod : Smart Dates ------------------------------------------------------------
//-- add
   if ( $board_config['smart_dates_allow'] )
   {
      $template->assign_block_vars( 'smart_dates', array() );
   }
//-- fin mod : Smart Dates --------------------------------------------------------

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------
#
# EoM
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon jeepguy_1980 » 26. Jul 2007 17:21

Thank you. That worked.
jeepguy_1980
 
Beiträge: 13
Registriert: 19. Jul 2007 02:34

Beitragvon AmigaLink » 26. Jul 2007 19:56

Fine :)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW


Zurück zu easy UCP



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 13 Gäste

cron