HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Making use of ocPortal and IPB Forums!

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#778 (In Topic #193)

Fan in action

Making use of ocPortal and IPB Forums!

Did some modifications to my skins for IPB Forums version 1.3… I thought I might share who to add them…

Note, the end result will look nothing like mine unless you happen to have my skin  :rolleyes:  :lol:

Obviously, You'll need to log into your Forum's Admin CP.

Go to Skin & Templates, HTML Templates.

Scroll down a bit and look for "Template Tool". Synchronize all the skins. This will make it so that modifications you do via the Admin CP won't erase any modifications you did to the php files directly…

Once done, Click on "Manage HTML" for the skin you wish to modify…

It would be a good idea to copy and paste the entire text area of the section, before modifying it, into a .txt file, incase something goes wrong we'll have a backup of the original.

Quick Links:Please do not reply until I've finished… I'm gonna be making quicklinks…

:lol: That quick links would work better if I could use the doHTML tag :lol:

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
Posted
Rating:
#779

Fan in action

Adding User Prestige Information in User's Profile

In your skin's Manage HTML, go to "Profile View Sections". Next, select "Member Profile Page"

Look for: {ibf.lang.add_to_contact}

Copy whatever is around that and paste it AFTER the contact code… For my skins it looks something like:

Code

· <a href='{$info['base_url']}act=Msg&CODE=02&MID={$info['mid']}'>{ibf.lang.add_to_contact}</a>

Add the copy right after that line, and modify it (it=copy…) to make the link look something like this:

Code

<a href='http://mrdefender.eliteforce.com/index.php?page=points&user={$info['mid']}'>Whatever you want here for link name/title</A>

Ofcourse, replace my mrdefender…..com to your website…

This will make it so that the link goes to the profile user's information and not the user viewing it… :)

When done, Update the Template

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
Posted
Rating:
#780

Fan in action

Adding Prestige Links to the User CP

Go to "User Control Panel Section" then to the "Side Menu Links". Remember to always make a backup copy of the code before we start playing around with it :)

Look for: {ibf.lang.m_passy_opt} It should have a </div> soon after it…

Adding this should do all the work for you…

Code

&#60;&#33;--PRESTIGE START ------------------------------------------------&#62;
&#60;div class=&#39;titlemedium&#39;&#62;Prestige Point System &#40;&#60;A HREF=&#39;http&#58;//mrdefender.eliteforce.com/index.php?page=points&#39; target=&#39;_blank&#39;&#62;What&#39;s this?&#60;/a&#62;&#41;&#60;/div&#62;&#60;div style=&#34;padding&#58;5px&#34;&#62;

                 &middot; &#60;A HREF=&#39;http&#58;//mrdefender.eliteforce.com/index.php?page=points&user={ibf.member.id}&#39; target=&#39;_blank&#39;&#62;Your Prestige Information&#60;/a&#62;&#60;br /&#62;
                 &middot; &#60;a href=&#39;http&#58;//mrdefender.eliteforce.com/index.php?page=pointssearch&#39; target=&#39;_blank&#39;&#62;Search Members/Give Points&#60;/a&#62;&#60;br /&#62;
                 &middot; &#60;a href=&#39;http&#58;//mrdefender.eliteforce.com/index.php?page=pointstore&#39; target=&#39;_blank&#39;&#62;Spend Prestige Points&#60;/a&#62;&#60;br /&#62;


&#60;/div&#62;
&#60;&#33;--PRESTIGE END --------------------------------------------------&#62;

Remember to change my mrdefender.eliteforce.com to fit your URL… ;)

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
Posted
Rating:
#781

Fan in action

Adding Link to Site CP for mods/admins only

Again, backups backups backups ;)

Go to "Global HTML Elements" > Link to Mod CP (well.. +–Link to Mod CP)

Depending on what your skin uses for a fancy look, you'd basicly add something like this:

Code

&nbsp;&#60;b&#62;&#60;a href=&#39;http&#58;//some.website.com/admincenter/index.php&#39; target=&#39;_blank&#39;&#62;Site CP&#60;/a&#62;&#60;/b&#62;

This is very handy. It makes it so that anyone who has access to the MOD CP can use the link, but no one else.

If you do not want your moderators to have access to the admin center of your website, Simply add the same code to the "+–Link to Admin CP" section.

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
Posted
Rating:
#782

Fan in action

Adding Prestige Information Page along with "# new messages", "View new posts", etc…

If your skin uses pure images for the links like "search" "members" "help" "calendar" "guidelines" and such, then this would be a good idea…

My skin uses images to do all those links, so adding a prestige one would be more trouble than its worth… (imho..)

Instead, I added it along side with "My Controls, # New Messages, View New Posts and My Assistant"

Go to Global HTML Elements > +–Member Bar WITH Messenger Links and add this at the end of {ibf.lang.l_qb}</a>

Code

&#60;a href=&#39;http&#58;//mrdefender.eliteforce.com/index.php?page=points&#39; target=&#39;blank&#39; title=&#39;Prestige Point System&#39;&#62;Prestige&#60;/A&#62;&nbsp;

Again, replace the link with whatever for your website :lol:

ocProducts :wub: :wub:

Click here to drop by my website!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: