Goto page 1, 2  Next

Clan Manager Forum/Profile Mod's issues

550

Sat May 07, 2016 11:06 am
NOOB!!!
38 Posts
Expand

Hello coRpSE, i'm trying install your mod but i just don't wanna show the CM Rank.

The first problem I had was in viewtopic.php and viewtopic_body.tpl, the games and ribbons works fine, but the clan tag dosen't show( and how I centralize the area that I marked in the screenshot like is in the screenshot that is in the tutorial?)

Also in usercp_viewprofile.php and profile_view_body.tpl nothing work here ( so i didn't take a screenshot )
Sat May 07, 2016 1:14 pm
Clan Leader
Top Dog
2630 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 93.7hrs.
Total Played: 135hrs.
  
There is life outside of the game.
Can you pack up your modules/Forums/viewtopic.php and attach it here.
I will take a look about the clan tags.

You will need to put it into a .zip or a .rar.

As for centering it, you can wrap it in a span or a paragraph and do a in-line style of "center". Sortof like this:

Example:

Code: [ Select all ]


{postrow.CRGAMES}{postrow.RIBBONS}{postrow.POSTER_GENDER}<br />{postrow.POSTER_JOINED}<br  />{postrow.POSTER_AGE}{postrow.POSTER_POSTS}<br />{postrow.POSTER_VISITED}<br  />{postrow.POSTER_FROM}<br />{postrow.REPUTATION}<br />{postrow.THANKSTOTAL}<br  /><p style="text-align:center;">{postrow.CRGAMES}{postrow.RIBBONS}</p><br />


Of course, using a < p > or a < span > can sometimes cause issues, though not good practice because of HTML5 and what not, you can still do a < center > tag around it, like this.

Example 2:

Code: [ Select all ]


{postrow.CRGAMES}{postrow.RIBBONS}{postrow.POSTER_GENDER}<br />{postrow.POSTER_JOINED}<br  />{postrow.POSTER_AGE}{postrow.POSTER_POSTS}<br />{postrow.POSTER_VISITED}<br  />{postrow.POSTER_FROM}<br />{postrow.REPUTATION}<br />{postrow.THANKSTOTAL}<br  /><center>{postrow.CRGAMES}{postrow.RIBBONS}</center><br />


hope that helps a little.


Expand
Sat May 07, 2016 3:00 pm
Original Poster
NOOB!!!
38 Posts
The link
Please login to see this link
Get registered or Log in
i will try center with that help.


 
Sat May 07, 2016 7:07 pm
Clan Leader
Top Dog
2630 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 93.7hrs.
Total Played: 135hrs.
  
There is life outside of the game.
Okay, below is your viewtopic.php and it should work.

Also, like to note that I also attached an updated readme file which should have the profile section fixed. If you can, try it again and let me know if it worked.



EDIT:
viewtopic.php moved below.


 
Sat May 07, 2016 8:11 pm
Original Poster
NOOB!!!
38 Posts
When i upload the viewtopic.php got this error when i try load the page:

Parse error: syntax error, unexpected '[' in /home/nsgsquad/public_html/modules/Forums/viewtopic.php on line 138


 
Sat May 07, 2016 9:04 pm
Original Poster
NOOB!!!
38 Posts
I tried again, now with more calm and the mod on profile view didn't work
Also, now the stuff is center, but still withot the clan tag.


 
Sat May 07, 2016 11:43 pm
Clan Leader
Top Dog
2630 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 93.7hrs.
Total Played: 135hrs.
  
There is life outside of the game.
Okay, try this viewtopic.php.

As for the profile mods, send me the following files,

  1. public_html/modules/Forums/includes/usercp_viewprofile.php
  2. public_html/themes/YOUR_THEME/forums/profile_view_body.tpl


I will go through and find the error.


 
Sun May 08, 2016 5:50 am
Original Poster
NOOB!!!
38 Posts
Now i try and work, thanks!
i will sent the files without modification okay.
Download
Please login to see this link
Get registered or Log in


 
Sun May 08, 2016 2:43 pm
Clan Leader
Top Dog
2630 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 93.7hrs.
Total Played: 135hrs.
  
There is life outside of the game.
Here you go, just upload these to the correct folders in which they came from.


 
Sun May 08, 2016 4:56 pm
Original Poster
NOOB!!!
38 Posts
Work fine, thank you so much! Nice mods !!!!!  big grin


 
Goto page 1, 2  Next
Forums ©