The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PHPbb2 Script Problems

3 posters

Go down

PHPbb2 Script Problems Empty PHPbb2 Script Problems

Post by nextlevelgaming Wed 27 Jun - 19:56

I am running into a few problems, and no one really seems to be able to help. So i am titling this PHPbb2 script for people to see i am asking phpbb2 code problems. Atleast i believe i am running phpbb2


I am making a status update for my users to use. It looks nice so far and Im loving it. Only problem is the widget wont update, only thing is if you actually go into the profile edit section it works. I edited the scripts and so forth so it shows under the avatar area in each post and so forth. Can anyone help me here is the code I used...

Code:

<html>
<body>
<center>
<input type="text" class="post" id="profile_field_13_1" name="profile_field_13_1"
style="width:200px" textarea style="height: 200px;" value="" />
</br><span class="gensmall"><input class="mainoption" type="submit" name="submit" value="Save"  /> <input class="liteoption" type="reset" name="reset" value="Reset" />

</form>
</br>Whats on your mind, what games are you playing, etc?
</span>
</td>
</tr>
</center>
</body>
</html>

Tho this was taken from the view source code, and i implemented it into a widget format. Everytime i click save it does nothing. I tried to find the variable that would make this save button actually work. it works while in profile, but i do not want my users to have to go to profile to do this, thats why i made a widget.

Any suggestions. btw the website is www.pimpkings.com dont know if it would be accessible for you so just let me know.


Also
-

I was working on the CSS style sheet and when i did something honestly not sure what i did wrong. I delete the #top and #bottom direct links to go from bottom of topic to the top and vise versa. Dont need them really. Also deleted the minus for reputation and the bar that appears. Now my avatar frames are huge and just distorting everything. How can i fix. Would also like to minize the space between each post, or rid of it completely...


Can someone help me as soon as possible. the site looks trashed now and dont need my members getting all angry.

website once again is


www.pimpkings.com you will only be able to see select items
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by runawayhorses Thu 28 Jun - 0:34

nextlevelgaming wrote:So i am titling this PHPbb2 script for people to see i am asking phpbb2 code problems. Atleast i believe i am running phpbb2
Just so you can confirm what version you have:

Go to AP>>Display>>

On that page it will tell you what version you have.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
Language : English
Location : United States

View user profile http://runawayhorses.alldiscussion.net/

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by nextlevelgaming Thu 28 Jun - 1:58

Yea its phpbb2 subsilver so...need to get this fixed. My clan members are getting frustrated with the look. And for the update status all i need is to actually call the action when clicked save...it Jus won't do anything
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by LGforum Thu 28 Jun - 10:11

It's not as simple as copying the source code lol. Not to mention your form doesn't even have an open tag. An you shouldn't have HTML tag body tag I'm a widget.

The way to do this is using Ajax, it's a little hard to explain, but luckily I'll be making a tutorial of how to make one similar to my site, some point soon.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

View user profile

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by nextlevelgaming Thu 28 Jun - 21:29

LG I got the code to partly work. it now does something when I click save, which was better than before. it still does not update, heres the code i used...

Code:
<html>
<body>
<center>
<form>
<input type="text" class="post" id="profile_field_13_1" name="profile_field_13_1"
style="width:200px" textarea style="height: 200px;" value="" />
</br>
<input class="mainoption" type="submit" name="submit" value="Save"  /> <input class="liteoption" type="reset" name="reset" value="Reset" /></br>
</form>
</br>Whats on your mind, what games are you playing, etc?
</span>
<td class="catBottom" colspan="0" align="center" height="0"></br>
<input type="hidden" name="page_profil" value="informations" /></br>
<input type="hidden" name="mode" value="editprofile" /></br>
<input type="hidden" name="agreed" value="true" /></br>
<input type="hidden" name="coppa" value="" /></br>
<input type="hidden" name="user_id" value="1" /></br>
<input type="hidden" name="current_email" value="{L_EMAIL}" /></br>

</td>
</tr>
</center>
</html>

before this code was

Code:
<input type="hidden" name="current_email" value="my email address" />

I changed the value to {L_EMAIL} to see if that would work. still does not. I know i must be missing some code. and I do believe it is as easy as viewing the source and changing it around

the original code had bunch more store in between from the original profile edit page. Such as my other feilds i wanted users to add. As well as <td> and <tr> but this would make the website all funky looking so i slowly started to take things out, reordering them, and it looks good now. Just to get that save function to work would be amazing lol

course I may be wrong. if you want to look at the code, see what you can do and edit, and make this work and make a tutorial that would be great. please help asap. this function i believe is greatly wanted by alot of members of these sites. and it would be a great addition.

also do you know how to add under the posters.avatar area a last time online?
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by LGforum Thu 28 Jun - 23:41

You shouldn't have HTML tags inside the widget.

First off your form needs an action and method.
Also, are you sure you've given the correct field id to the text field? It has to be exact.

Next is the user_id field, that must change depending on which user it is. Thats dynamic field. Which is biggest reason why copying the source code doesn't work, its not dynamic anymore but fixed.

Lastly, the current_email field must be the users email too. {L_EMAIL} I don't think is the correct template variable, the L generally stands for label, and so that likely is parsed to 'Email:' rather than the actual email.
However even if it is the correct template variable, its likely not parsed on every page for security reasons but only in the /profile page.

I know I'm not providing you with much, but as I say I plan to share a tutorial in a week or two for this, but I hope some of this has pointed you in the correct direction.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

View user profile

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by nextlevelgaming Sat 30 Jun - 3:46

Runaway or LG...If i switch my version of forum will i lose anything?

Everyone is saying phpbb2 is low on capabilities and i want my site to be fully functional and easy for my users to understand. meaning if i switch versions to say bb3 or invision will i be able to make an easier profile and everything that i want to do such as listed above?
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by nextlevelgaming Sun 1 Jul - 21:14

Can you give me small examples? And so i won't lose the background on post or the transparency or the other codes I've worked countlessly on? Just the theme from hitskin? And the title is correct rideem, original context was pho script issues
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

PHPbb2 Script Problems Empty Re: PHPbb2 Script Problems

Post by nextlevelgaming Mon 2 Jul - 3:23

Oh never mind then. I worked to long with the coding and so forth to have to redo it all. Senseless when its a small clan website
nextlevelgaming
nextlevelgaming
Forumember

Male Posts : 989
Reputation : 38
Language : English|CSS|HTML5|javascript|
Location : New York

View user profile http://www.easybbtutorials.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum