Welcome, Guest. Please Login or Register.
May 07, 2025, 12:03:13 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Will this code MOD work on YABBSE?? « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Will this code MOD work on YABBSE??  (Read 402 times)
new2php
Noobie
*
Posts: 20


Ima wha?

Will this code MOD work on YABBSE??
« on: May 14, 2002, 08:26:32 PM »
Reply with quote

On my SP1 board I had inserted some code modifications that made extra input fields in the members' profile page. For example: I created a "location" field that the member could fill out and it also printed that location info beneath their username when they posted to the forum. The tutorial for how to do it using SP1 is below.

My main question is, should I even bother trying to mess with this code on SE or do you think it will work?

Thank you all in advance.

link to code modification instruction
http://boardmod.yabbforum.com/yabb/YaBB.pl?board=tutorials;action=display;num=996538038
Logged
iamdamnsam
Full Member
***
Posts: 225


RamchargerCentral.Com

WWW
Re:Will this code MOD work on YABBSE??
« Reply #1 on: May 14, 2002, 08:53:52 PM »
Reply with quote

location is already in the profile, and it is very easy to make it show up in posts.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Will this code MOD work on YABBSE??
« Reply #2 on: May 14, 2002, 08:54:01 PM »
Reply with quote

Don't know why you'd need to add a location field, it's already there ;)
Logged

new2php
Noobie
*
Posts: 20


Ima wha?

Re:Will this code MOD work on YABBSE??
« Reply #3 on: May 14, 2002, 11:54:36 PM »
Reply with quote

 iamdamnsam, do you have an easy tutorial on how to add it to the post area? So lets say I want to have other fields in the profile? Could I use the code mods I listed previously? Will these work on SE? Thanks again.
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Will this code MOD work on YABBSE??
« Reply #4 on: May 15, 2002, 02:31:35 AM »
Reply with quote

SP1 mods will not work with SE.  Since they are written in two different languages there is no way that could work.  Adding fields to a profile is not currently supported but I believe it is in the works.
Logged

iamdamnsam
Full Member
***
Posts: 225


RamchargerCentral.Com

WWW
Re:Will this code MOD work on YABBSE??
« Reply #5 on: May 16, 2002, 01:32:55 AM »
Reply with quote

This is what I did

Find this in Display.php

print "            $star<br><BR>\n$online            ".$userprofile[$mname]['gender'];
and add this line after

print $userprofile[$mname]['location'];
I also took this line

print "\n            $postinfo\n           ".$userprofile[$mname]['avatar'].$ptext;
and added a br tag in it like this

print "\n      <br>      $postinfo\n           ".$userprofile[$mname]['avatar'].$ptext;
Let me know if it works or if it doesn't.  I think that is all I had to do, but I don't remember since I did this right when I got SE 1.3.
« Last Edit: May 16, 2002, 01:33:31 AM by iamdamnsam » Logged

new2php
Noobie
*
Posts: 20


Ima wha?

Re:Will this code MOD work on YABBSE??
« Reply #6 on: May 16, 2002, 07:11:13 AM »
Reply with quote

Thanks iamdamnsam
Logged
new2php
Noobie
*
Posts: 20


Ima wha?

Re:Will this code MOD work on YABBSE??
« Reply #7 on: July 18, 2002, 05:41:08 AM »
Reply with quote

First off iamdamnsam, I would like to tell you that you have been a great help in getting my board how I want it, thanks. I just checked your site and noticed you have a vehicle description in your profile. Would you mind telling me how this is done? I would like to add at least one additional profile field for my members. Thanks.
Logged
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:Will this code MOD work on YABBSE??
« Reply #8 on: July 18, 2002, 01:49:50 PM »
Reply with quote

I have such a thing for Mobile Phones.

I used the BioMod and changed that manually.

Also used input instead of textarea.

Just try it ;)
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
iamdamnsam
Full Member
***
Posts: 225


RamchargerCentral.Com

WWW
Re:Will this code MOD work on YABBSE??
« Reply #9 on: July 19, 2002, 12:14:16 AM »
Reply with quote

Webby is right, the bio mod will work, just change Bio in your English.lng file to whatever you want.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Will this code MOD work on YABBSE?? « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.063 seconds with 21 queries.