Re usercp_viewprofile.php

Support for IntegraMOD 141

Moderator: Integra Moderator

Re usercp_viewprofile.php

PostAuthor: anth0ny » Sun Mar 30, 2008 3:32 am

Your phpBB Version: Integramod
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://goldhabbos.com/forum

PHP Version: Latest stable
MySQL Version: Latest stable


What was done before the problem appeared?
no updates uploaded yet


What was done to try to solve the problem?
Loads of searching



De.scription and Message

I am trying to install activity mod plus and im having trouble finding where i put the following code:

Code: Select all
---------------------------------------[ OPEN ]----------------------------------------------------------  Root/includes/usercp_viewprofile.php  ---------------------------------------[ FIND ]----------------------------------------------------------  //// Generate page//  ---------------------------------------[ ADD, BEFORE ]---------------------------------------------------  #======================================================================= |#==== Start]) && ($profiledata['user_trophies'] > '0') && ($profiledata['user_id'] != ANONYMOUS) )           {           $template->assign_block_vars('trophy', array(         'PROFILE_TROPHY'     => "<a>". $lang['Trohpy'] ."</a>:  ". $profiledata['user_trophies'],         'TROPHY_TITLE'       => $lang['Trohpy'])             );           }                   $template->assign_vars(array(         'PROFILE_TIME'       => DisplayPlayingTime(2, $profiledata['ina_time_playing']),         'PROFILE_TITLE'       => $lang['profile_game_time'])             );             if ( ($board_config['ina_char_show_viewprofile']) && ($profiledata['ina_char_name']) && ($profile_data['user_id'] != ANONYMOUS) )         {     include_once($phpbb_root_path .'includes/bbcode.'. $phpEx);             $template->assign_block_vars('profile_char', array(         'CHAR_PROFILE' => AMP_Profile_Char($profiledata['user_id'], ''))             );               }             $poster_rank .= Amod_Trophy_King_Image($profiledata['user_id']);#====#==== Author: aUsTiN [*************] [**************] === |#==== End: ==== Activity Mod Plus ====================================== |   #======================================================================= |  ---------------------------------------[ CLOSE & SAVE ]--------------------------------------------------



I am using integramod 141 this is the first time ive used this and it is very diferant to phpbb2.3 any help would be greatly appritiated!

Also <img> what file are the links to the left, top and bottom nav bars?

TY in advanced!
Last edited by anth0ny on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

anth0ny
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 30, 2008 3:27 am
Cash on hand: 0.00

Re: Re usercp_viewprofile.php

PostAuthor: Helter » Sun Mar 30, 2008 11:45 am

for your links look in acp/general admin/qbar

for the file edits, did you dl your activity mod from here, or foundit forum? I think the versions available here and there are modified for PCP, which replaces that file.
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Re usercp_viewprofile.php

PostAuthor: anth0ny » Mon Mar 31, 2008 8:44 am

Thanks for the reply but i got a answer from ozzys world :)

Is there any way a new page could be added to the profile?
i would like it so it was
Base info---Photo---Groups---Last topics---ADR stats

as adding adr info to base info just makes it look messy
Last edited by anth0ny on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

anth0ny
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 30, 2008 3:27 am
Cash on hand: 0.00

Re: Re usercp_viewprofile.php

PostAuthor: Helter » Mon Mar 31, 2008 7:10 pm

it has probably been a few years, but Mr.DSL posted how to do this. I think it may even have been for ADR. search the archive for his post
Last edited by Helter on Mon Mar 31, 2008 11:11 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Re usercp_viewprofile.php

PostAuthor: anth0ny » Mon Mar 31, 2008 10:44 pm

ill take a look ty <img>
Last edited by anth0ny on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

anth0ny
Newbie
Newbie
 
Posts: 14
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 30, 2008 3:27 am
Cash on hand: 0.00

Re: Re usercp_viewprofile.php

PostAuthor: Skywalker » Fri Jul 04, 2008 12:40 pm

"anth0ny";p="32475" wrote:Thanks for the reply but i got a answer from ozzys world :)

Is there any way a new page could be added to the profile?
i would like it so it was
Base info---Photo---Groups---Last topics---ADR stats

as adding adr info to base info just makes it look messy

can you maybe post the solution also for other members with the same problem?
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

Re: Re usercp_viewprofile.php

PostAuthor: DjPorkchop » Sun Jul 06, 2008 3:05 pm

The solution is simple. Follow the instructions here in the KB OR simply visit [url=http]Founditforums[/url] and follow the install exactly like it says.

You can not use the regular install docs from the Activity mod as Integramod uses PCP and activity mod was not written for use with PCP. It has , however, been ported for use on Integramod forums. If you dload the files from Foundit forum, make sure you do NOT use the premodded files.

Simply donwload the regular files and use those instead and do a manual install. Once you are done, read all of the comments on the site for an answer or two that may be there. If follwed correctly your install will run flawless.

And regarding the includes/usercp_register.php, it does not exist when pcp is in use.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Re usercp_viewprofile.php

PostAuthor: Skywalker » Sun Jul 06, 2008 3:18 pm

"MWE_001";p="33580" wrote:The solution is simple. Follow the instructions here in the KB OR simply visit [url=http]Founditforums[/url] and follow the install exactly like it says.

You can not use the regular install docs from the Activity mod as Integramod uses PCP and activity mod was not written for use with PCP. It has , however, been ported for use on Integramod forums. If you dload the files from Foundit forum, make sure you do NOT use the premodded files.

Simply donwload the regular files and use those instead and do a manual install. Once you are done, read all of the comments on the site for an answer or two that may be there. If follwed correctly your install will run flawless.

And regarding the includes/usercp_register.php, it does not exist when pcp is in use.

i know this i had it running before on another board, still the install instructions from found it forum or from the activity package available for download here do not have the pcp install instructions included... and i dont know anymore where i found those in the past
Last edited by Skywalker on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

Skywalker
Sr Integra Member
Sr Integra Member
 
Posts: 236
Likes: 0 post
Liked in: 0 post
Joined: Fri Apr 14, 2006 5:25 pm
Cash on hand: 0.00

Re: Re usercp_viewprofile.php

PostAuthor: DjPorkchop » Wed Jul 09, 2008 6:16 pm

The files you need are located [url=http]Here[/url]

And the install instructions for PCP are located [url=http]Here[/url]

Those are the exact files and install instructions I have been using to install to PCP for years now. <img>

Oh and when you dload the files from founditforum, dont use the install doc at all. just follow the instructions in the KB article link that I gave you
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]