Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Field In The Profile: Auto Delete Record On DB 
 
Hello all, like from object, I wanted to ask if it were possible and if you could help me to create a field in the profile that generated a link to just deviantART, since I manage situated of graphic (an hour in transfer dominion). For hour the one which I have made it has been this:

  1. Created the table in the DB in ip_user with the name of user_deviantart with following query:
    Code: [Download] [Hide] [Select]
    ALTER TABLE `ip_users` ADD `user_deviantart` VARCHAR( 60 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL AFTER `user_website` ;


  2. I have modified following pages PHP:
    • lang_main.php
    • usercp_viewprofile.php
    • usercp_register.php


  3. Here the modifications that I have made usercp_register.php:
    Spoiler: [ Show ]


  4. Here the modifications that I have made usercp_viewprofile.php:
    • To the Line 256:
      Code: [Download] [Hide] [Select]
      $deviantart_img = ( $profiledata['user_deviantart'] ) ? '<a href="' . $profiledata['user_deviantart'] . ''.deviantart.com/'" target="_blank"><img src="' . $images['icon_deviantart'] . '" alt="' . $lang['Visit_deviation'] . '" title="' . $lang['Visit_deviation'] . '" /></a>' : '&nbsp;';

    • To the Line 257:
      Code: [Download] [Hide] [Select]
      $deviantart = ( $profiledata['user_deviantart'] ) ? '<a href="' . $profiledata['user_deviantart'] . ''.deviantart.com/'" target="_blank">''</a>' : '&nbsp;';



  5. I have modified the having followed rows of the template ones:
    • mg_themes.cfg
      • I have added:
        Code: [Download] [Hide] [Select]
        $images['icon_deviantart'] = $current_template_images . $current_lang . 'icon_deviantart.' . $buttons_extension . $img_fade . $extra_padding;

    • profilevoiew_body.tpl
      • I have added:
        Code: [Download] [Hide] [Select]
        <tr>
        <td class="row2" valign="top"><b><span class="genmed">{L_DEVIANTART}</span></b></td>
        <td class="row1"><span class="genmed">{DEVIANTART}</span></td>
        </tr>

    • profileadd_body.tpl
      • I have added:
        Code: [Download] [Hide] [Select]
        <tr>
        <td class="row1"><span class="gen">{L_DEVIANTART}:</span></td>
        <td class="row2"><input type="text" class="post" style="width: 200px" name="website" size="25" maxlength="255" value="{DEVIANTART}" />.deviantart.com</td>
        </tr>




I have made all this for hour, but I have the following errors:

  1. but I do not understand why I writing in the field text the rows in the DB do not record me, although I directly modify them from and I come them I visualize to you in the modification of the profile then! You can say to me that rows I must control? for hour I have watched but I have not found nothing, and it does not come visualized not even when I go to see a profile although it is written in the DB!


you ask you aid, and I ask excuse the Italian support, but here, being to us more people even succeeds to help, knowing your engagements me

 




____________
Host Server: Linux (Aruba)
IP Version: 1.3.1.54 Modded
IP WebSite: MakingART (Web 2.0)
 
Last edited by FedericoBiccheddu on Thu 26 Jun, 2008 12:18; edited 1 time in total 
FedericoBicchedduSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: [MOD REQUEST] Create A Field In The Profile For DeviantA 
 
nobody can help me?
 




____________
Host Server: Linux (Aruba)
IP Version: 1.3.1.54 Modded
IP WebSite: MakingART (Web 2.0)
 
FedericoBicchedduSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [MOD REQUEST] Create A Field In The Profile For DeviantA 
 
Hello to all, I have found the MOD for phpbb2 I have integrated and it nearly perfectly, I have only a problem:

when I go to change avatar cancels me also the record from the table of the field.

The code creed enters in contrast with the page includes/usercp_avatar.php.

I have controlled in the page includes/usercp_avatar.php but modifying the values that I had to add pe the MOD is changed nothing, to what could be connected? you can dirmi that quesry they come executed when modification l' avatar?

Infinite thanks  

The mod for PHPbb2 is: DeviantART profile mod
 




____________
Host Server: Linux (Aruba)
IP Version: 1.3.1.54 Modded
IP WebSite: MakingART (Web 2.0)
 
FedericoBicchedduSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Field In The Profile: Auto Delete Record On DB 
 
I have answered to this @ the Italian support site...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events