TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,970
  • Latest: bynw
Stats
  • Total Posts: 196,058
  • Total Topics: 21,338
  • Online today: 201
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 206
  • Total: 207
  • Itchdog

TinyPortal v0.8.6

Started by Lesmond, February 05, 2006, 02:35:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sbarnes

#400
To clarify:
The mod instructions state:

"
-------------------------------------------------------------------------------------------------------
Sources/ManagePermissions.php
-------------------------------------------------------------------------------------------------------

<search for>
            'profile_remote_avatar' => false,
         )
</search for>

<add after>
         ,
         // TinyPortal
         'tinyportal' => array(
            'tp_settings' => false,
            'tp_blocks' => false,
            'tp_articles' => false,
         ),
         'tinyportal_dl' => array(
            'tp_dlmanager' => false,
            'tp_dlupload' => false,
         ),
         // Tinyportal end
</add after>
"

My Sources/ManagePermissions.php has this in that part of the script:
),
         '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,
            'profile_ignore_board' => true,
         )
         ,
         'googlebot' => array(
            'googlebot_view' => false,
         )

Even a manual search for the
            'profile_remote_avatar' => false,
         )
within dreamweaver cannot find it because the close bracket is not where it used to be. ('profile_ignore_board' => true, is in between the search string and the closed bracket.

Shall I simply add it after the closed bracket where it is situated now?

bloc

Just insert it after
'profile_ignore_board' => true,
         )


Its important that it comes on the next line of the last ) there.

sbarnes

Thank you, so you mean like this?:

         '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,
            'profile_ignore_board' => true,
         )
         ,
         // TinyPortal
         'tinyportal' => array(
            'tp_settings' => false,
            'tp_blocks' => false,
            'tp_articles' => false,
         ),
         'tinyportal_dl' => array(
            'tp_dlmanager' => false,
            'tp_dlupload' => false,
         ),
         // Tinyportal end

         ,
         'googlebot' => array(
            'googlebot_view' => false,
         )


Does that make correct syntax for the surrounding codes? looks like the google one may be affected?

Should I continue with the installation via the package manager with the error and then add the code manually or do it before hand? does it make any difference?

Your help is appreciated


Quote from: Bloc on March 27, 2006, 01:19:11 PM
Just insert it after
'profile_ignore_board' => true,
         )


Its important that it comes on the next line of the last ) there.

sbarnes

Thank you very much for all your help, it appears I have succeeded.

I went in for the kill, tried what you suggested, got an error at first then tried removing the ' from the google mod and it all seems to work. Just going to check it out properly.

thanks again , looks great.

bloc

Yup, thats correct.. ;) and I was about to point out the comma there, but you found it yourself.

fugi

Have a look at the left sidebar here.
http://www.thmmy.gr/smf/index.php?action=forum
Why other blocks have a gray color title, while others have white and how can I fix it?
Through css?

Thanks

bloc

Yes, through css. You need to specify how a class behave for links.

For example: .mytitle{ color: red;} will not make links with that class red. For that you need to add: .mytitle, .mytitle a:link{ color: red; }

fugi

How can I find the class of the titles of blocks content and Time, which I want to change;

Tucker

Look at the generated html-source. (Search after 'Content' or 'Time', ... - your gray titles)

You will find the class 'titlebg'. Now just follow Bloc's hint and add this selector and style to your stylesheet.

bloc

Its already in the stylesheet, SMF also use this, so check that it doesn't look funny elsewhere. ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.