News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Camfrog Profile Field

Started by Anub1s, September 09, 2008, 03:19:27 PM

Previous topic - Next topic

Anub1s

Link to Mod

This mode works the same way as the msn/icq/yim pre-installed mods in smf,

insert your username for the field and click save your now showing your Camfrog profile in your posts, on your profile and even on the memberlists, you can even search for users of the forum that have entered there Camfrog profile by typing Camfrog and selecting the messanger option.

Updates

1.5 Only works with 2.0 RC1

1.2 only works with 2.0 Beta 4

Change Logs
1.1 first release 2.0 Beta 3.1 Public stable

1.2 release 2.0 Beta 4 stable
You can now disable the Camfrog Profile Field in the Admin Panel

1.5 Release 2.0 RC1 Stable
Computability update

Technoman

#1
Parse error: syntax error, unexpected T_STRING in .../Themes/default/Who.template.php on line 36
27:
28:
// For every member display their name, time and action (and more for admin).
29:
foreach ($context['members'] as $member)
30:
{
31:
// $alternate will either be true or false. If it's true, use "windowbg2" and otherwise use "windowbg".
32:
echo '
33:
<tr class="windowbg', $alternate ? '2' : '', '">
34:
<td>';
35:
36:
', $member['camfrog']['link'], '
37:
</div>';
38:
}
39:
40:
echo '
Quoteim using 2.0 beta 4

Marcus Forsberg

Technoman:

Find this, at line 36:
', $member['camfrog']['link'], '

And replace it whit:
echo'
', $member['camfrog']['link'], '


Nas

Technoman

Quoteonce i do that this is what happens now

Parse error: syntax error, unexpected '}' in .../Themes/default/Who.template.php on line 89
80:
</select>
81:
<noscript>
82:
<input type="submit" value="', $txt['go'], '" />
83:
</noscript>
84:
</div>
85:
</td>
86:
</tr>
87:
</table>
88:
</form>';
89: }
90:
91: function template_credits()
92: {
93:
global $context, $txt;

Marcus Forsberg

Please attach the entire file instead

Technoman

#5
Quotethis is what i get when i upload it to the server in download modifications
1.2 only works with 2.0 Beta 4


Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Sources/Load.php    Test successful
      1.    Replace    ./Sources/Load.php    Test successful
      2.    Replace    ./Sources/Load.php    Test successful
      3.    Replace    ./Sources/Load.php    Test successful
      4.    Replace    ./Sources/Load.php    Test successful
*    2.    Execute Modification    ./Sources/Memberlist.php    Test successful
      1.    Replace    ./Sources/Memberlist.php    Test successful
      2.    Replace    ./Sources/Memberlist.php    Test successful
      3.    Replace    ./Sources/Memberlist.php    Test successful
*    3.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Replace    ./Sources/ManageSettings.php    Test successful
*    4.    Execute Modification    ./Sources/News.php    Test successful
      1.    Replace    ./Sources/News.php    Test successful
*    5.    Execute Modification    ./Sources/Profile-Modify.php    Test failed
      1.    Replace    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test failed
*    6.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Replace    ./Sources/Subs-Members.php    Test successful
      2.    Replace    ./Sources/Subs-Members.php    Test successful
*    7.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Replace    ./Themes/default/Display.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test successful
*    9.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Replace    ./Themes/default/Profile.template.php    Test successful
      2.    Replace    ./Themes/default/Profile.template.php    Test successful
      3.    Replace    ./Themes/default/Profile.template.php    Test successful
      4.    Replace    ./Themes/default/Profile.template.php    Test successful
      5.    Replace    ./Themes/default/Profile.template.php    Test successful
*    10.    Execute Modification    ./Themes/default/Memberlist.template.php    Test successful
      1.    Replace    ./Themes/default/Memberlist.template.php    Test successful
*    11.    Execute Modification    ./Themes/default/Who.template.php    Test successful
      1.    Replace    ./Themes/default/Who.template.php    Test successful
*    12.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Replace    ./Themes/default/languages/index.english.php    Test successful
*    13.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Replace    ./Themes/default/languages/Profile.english.php    Test successful
   14.    Delete File    ./Themes/default/images/camfrog.gif    

Technoman

#6
 :-\ so what you think is the problem with this, cause i have tried everything you suggested and still getting errors

I unistalled and now the *who is online works* , there seems to be a problem with this with the who is online when uploaidng it to server from admin panel

actually *who.template.php* is what seems to be problem with this mod, or maybe its soemthing else

im using 2. beta 4 with default template, hopefully you will let me know what to do next as i love Camfrog so this would be great on my forum once it works  ;D

h6a


Anub1s

#8
hi im sorry man i have not been aroud of resent i have been busy with work.

This mod was tested on the default template of beta 4 and i can not see how you are getting these errors.

Do you have any other mods installed i.e Myspace or Gmail mods.

These can cause problems and i will be working on fixing these problems once things have sorted themselfes.

Please let me know

Just a quick note My main forum has about 40 different mods installed into it and i have had no problems at all. It looks like it is a general conflict of a mod you have already installed into your forum

Installing this package will perform the following actions:
      Type    Action    Description
*    1.    Execute Modification    ./Sources/Load.php    Test successful
      1.    Add Before    ./Sources/Load.php    Test successful
      2.    Add Before    ./Sources/Load.php    Test successful
      3.    Add After    ./Sources/Load.php    Test successful
      4.    Replace    ./Sources/Load.php    Test successful
*    2.    Execute Modification    ./Sources/Memberlist.php    Test successful
      1.    Add Before    ./Sources/Memberlist.php    Test successful
      2.    Add Before    ./Sources/Memberlist.php    Test successful
      3.    Add After    ./Sources/Memberlist.php    Test successful
*    3.    Execute Modification    ./Sources/ManageSettings.php    Test successful
      1.    Replace    ./Sources/ManageSettings.php    Test successful
      2.    Replace    ./Sources/ManageSettings.php    Test successful
*    4.    Execute Modification    ./Sources/News.php    Test successful
      1.    Add Before    ./Sources/News.php    Test successful
*    5.    Execute Modification    ./Sources/Profile-Modify.php    Test successful
      1.    Add After    ./Sources/Profile-Modify.php    Test successful
      2.    Replace    ./Sources/Profile-Modify.php    Test successful
*    6.    Execute Modification    ./Sources/Subs-Members.php    Test successful
      1.    Add Before    ./Sources/Subs-Members.php    Test successful
      2.    Replace    ./Sources/Subs-Members.php    Test successful
*    7.    Execute Modification    ./Themes/default/Display.template.php    Test successful
      1.    Add Before    ./Themes/default/Display.template.php    Test successful
*    8.    Execute Modification    ./Themes/default/PersonalMessage.template.php    Test successful
      1.    Replace    ./Themes/default/PersonalMessage.template.php    Test successful
*    9.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
      1.    Add After    ./Themes/default/Profile.template.php    Test successful
      2.    Replace    ./Themes/default/Profile.template.php    Test successful
      3.    Add Before    ./Themes/default/Profile.template.php    Test successful
      4.    Replace    ./Themes/default/Profile.template.php    Test successful
      5.    Add Before    ./Themes/default/Profile.template.php    Test successful
*    10.    Execute Modification    ./Themes/default/Memberlist.template.php    Test successful
      1.    Add Before    ./Themes/default/Memberlist.template.php    Test successful
*    11.    Execute Modification    ./Themes/default/Who.template.php    Test successful
      1.    Replace    ./Themes/default/Who.template.php    Test successful
*    12.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/index.english.php    Test successful
*    13.    Execute Modification    ./Themes/default/languages/Profile.english.php    Test successful
      1.    Add Before    ./Themes/default/languages/Profile.english.php    Test successful
   14.    Extract Tree    ./Themes/default/images    
   15.    Execute Code    camfrog_settings.php

Anub1s

Camfrog Profile 1.5 has now been released and is compatible with 2.0 RC1

Enjoy it


Anub1s

if you have camfrog profile 1.5 installed please uninstall it and install 1.6 we found a error in the code and was removeing the who.template key features. sor for any problems this may have caused.

The mod is now fixed and up to date

drhamad

So out of curiosity, why use this instead of 2.0's additional fields option?
FMVperformance:  3.51m posts, 63k members, 11 boards, 1 database

Mazda3Forums - SmallVolvos - MazdaSpeeders Mazda Club - FordFusionClubMazda CX-7 Club - MyMazda6
Now introducing: MKSdrivers.com - FocusDrivers - TaurusDrivers

segvon2003

i have uploaded it but can't find it in the administrative panel to post it up

Advertisement: