Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Aiheen aloitti: swampy - maaliskuu 30, 2006, 06:16:08 IP

Otsikko: Think we have a problem wit this mod
Kirjoitti: swampy - maaliskuu 30, 2006, 06:16:08 IP
Think we have a problem wit this mod

Tried installing VisualWarning_v1[1][1].3 to day on the latest SMF 1.1 RC2

Installations actions for "VisualWarning":
Installing this package will perform the following actions:  Type Action Description
1. Execute Code VisualWarningPdb.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/ModSettings.php Test successful
4. Execute Modification ./Themes/default/Profile.template.php Test successful
5. Execute Modification ./Sources/Display.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test successful
7. Execute Modification ./Sources/Post.php Test successful
8. Execute Modification ./Themes/default/Post.template.php Test successful
9. Execute Modification ./Sources/Karma.php Test successful
10. Execute Modification ./Sources/Subs.php Test successful
11. Execute Modification ./Sources/Security.php Test successful
12. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
13. Execute Modification ./Sources/ManagePermissions.php Test failed
14. Execute Modification ./Themes/default/index.template.php Test successful
15. Execute Modification ./Sources/Load.php Test successful
16. Extract File ./Sources/VisualWarning11.php 
17. Extract File ./Themes/default/VisualWarning.template.php 
18. Extract File ./Themes/default/images/warnban.gif 
19. Extract File ./Themes/default/images/warnpmod.gif 
20. Extract File ./Themes/default/images/warnmute.gif 
21. Extract File ./Themes/default/images/warnwarn.gif 
22. Extract File ./Themes/default/images/members.gif 
23. Extract File ./Themes/default/images/buttons/im_visualw.gif
Otsikko: Re: Think we have a problem wit this mod
Kirjoitti: Gary - maaliskuu 30, 2006, 09:45:59 IP
I'm not definate on this, but it should work.

Install the mod as usual, forgetting about the one that failed, then manualy install the parts on the files that failed.

According to your post you'll need to this:

In ManagePermissions.php find:
'profile' => array(
'profile_view' => true,
'profile_identity' => true,
'profile_extra' => true,
'profile_title' => true,
'profile_remove' => true,
'profile_server_avatar' => false,
'profile_upload_avatar' => false,
'profile_remote_avatar' => false,
)

and add after
,
'visual_warn' => array(
'visual_warn_any' => false,
'visual_approve_any' => false,
)


It might not be the *exactly* same, but it should be pretty close to it.
Otsikko: Re: Think we have a problem wit this mod
Kirjoitti: swampy - maaliskuu 30, 2006, 09:54:19 IP
thanks for your efforts!  :)