Warning: The author of this contribution does not provide support for it anymore.

Introduciator

You guys know I created Subsilver2 edits for this - Introduciator

You guys know I created Subsilver2 edits for this

by PiperB » Wed Mar 22, 2017 11:34 pm

LOL Hey, I created a subsilver2 edit for this and thought it would be nice to share it.

Here are the instructions.

Open: styles/subsilver2/template/memberlist_view.html

Find:

Code: Select all

			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td>
				<td width="100%"><b class="gen">{JOINED}</b></td>
			</tr>
Add Before: (On a new blank line)

Code: Select all

			<!-- Introduciator - Begin -->
			<!-- IF S_INTRODUCIATOR_DISPLAY -->
			<tr>
				<td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_INTRODUCIATOR_MEMBER_INTRODUCTION}:</td>
				<td><!-- IF U_INTRODUCIATOR_URL --><a class="gen" href="{U_INTRODUCIATOR_URL}" alt="{L_INTRODUCIATOR_MEMBER_INTRODUCTION}" <!-- IF S_INTRODUCIATOR_PENDING -->title="{L_INTRODUCIATOR_VIEW_MEMBER_PENDING}"><b>{L_INTRODUCIATOR_VIEW_MEMBER_PENDING}</b><!-- ELSE -->title="{T_INTRODUCIATOR_TEXT}"><b>{L_INTRODUCIATOR_VIEW_MEMBER_GOTO}</b><!-- ENDIF --></a><!-- ELSE --><b><!-- IF S_INTRODUCIATOR_PENDING -->{L_INTRODUCIATOR_VIEW_MEMBER_PENDING}<!-- ELSE -->{L_INTRODUCIATOR_VIEW_MEMBER_NO_GOTO}<!-- ENDIF --></b><!-- ENDIF --></ul></td>
			</tr>
			<!-- ENDIF -->
Save the file.

Open: styles/subsilver2/template/viewtopic_body.html

Find:

Code: Select all

<span class="postdetails">
Add After: (On a new blank line)

Code: Select all

					<!-- Introduciator - Begin -->
					<!-- IF postrow.S_INTRODUCIATOR_DISPLAY --><br /><b class="{postrow.T_INTRODUCIATOR_CLASS}" title="{postrow.T_INTRODUCIATOR_TEXT}"><!-- IF postrow.U_INTRODUCIATOR_URL --><a href="{postrow.U_INTRODUCIATOR_URL}" alt="{L_INTRODUCIATOR_MEMBER_INTRODUCTION}" title="{postrow.T_INTRODUCIATOR_TEXT}"><!-- ENDIF --><span>{L_INTRODUCIATOR_MEMBER_INTRODUCTION}</span><!-- IF postrow.U_INTRODUCIATOR_URL --></a><!-- ENDIF --></b><!-- ENDIF -->
					<!-- Introduciator - End -->
Save the file.

Open: styles/subsilver2/theme/stylesheet.css

Find: (The first instance of)

Code: Select all

*/
Add after: (On a new blank line)

Code: Select all

@import url("introduciator.css");
Save the file.

File Copy:

//This file is completely different from the prosilver version and has whole new edits for subsilver2. (Included in the new and changed files zip download below.)
1. Copy: root/styles/subsilver2/template/introduciator_explain.html
To: styles/subsilver2/template/introduciator_explain.html

//The image can be optional if you wish to tweak your code to be text only, which is what will display anyway without the image present.
2. Copy: root/styles/subsilver2/theme/images/*.*
To: styles/subsilver2/theme/images/*.*

//This is also an original mod file that you need to overwrite because changes have been made to this file. (Included in the new and changed files zip download below.)
3. Copy: root/language/en/mods/introduciator.php
To: language/en/mods/introduciator.php

//This is a newly created file not present in the mod before as subsilver2 and subsilver2 based styles do not have a buttons.css and colours.css for editing. (Included in the new and changed files zip download below.)
4. Copy: root/styles/subsilver2/theme/introduciator.css
To: styles/subsilver2/theme/introduciator.css


Refresh your templates, imagesets, e.t.c. and clear your cache.

Here are the new files along with the changed files. The default file edits above must be done manually of course but the other new and changed files must be uploaded where specified.
Introduciator_Subsilver2.zip
(4.57 KiB) Downloaded 43 times

.....and of course you know I made screen shots.

Subsilver2 if the person does not have an introduction thread there is no link, just plain text.
1.png

After they have an introduction thread the text changes into a link and thus the link changes color.
2.png

Profile view, I changed the position to above the joined date, it seemed only fitting.
3.png
3.png (9.76 KiB) Viewed 75 times

This is my edit for the explanation page.
4.png

Accidentally was not able to snag the screenshot for the post confirmation in time because I had it set to X-Treme purple at that moment, but here is what happens when the user tries to click or view their introduction before it is approved by a mod or admin.
12.png

X-Treme Purple screen shots now.

Before user has an introduction thread.
6.png
6.png (29.78 KiB) Viewed 86 times

After they have a thread.
7.png

Profile view
8.png
8.png (7.97 KiB) Viewed 76 times

The explanation page.
9.png

Introduction post confirmation.
10.png

What a user sees if they try to view their introduction post before it is approved.
11.png

And that is it for now folks! Enjoy! :D
<!-- IF U_LOVE_NOTEPAD++ -->
[td class=statement]I Notepad++ ![/td]
<!-- ENDNEVER --> <!-- tee hee --> :P
Whoa ooo whoa ooo whoa I'm a Lady!
User avatar
PiperB
Registered User
Posts: 173
Joined: Mon Nov 07, 2016 6:54 pm