We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
[ C ] Rss Feed Request
Topic Started: Jul 23 2015, 02:30 PM (1,095 Views)
antartika
Member Avatar
Member
[ *  * ]
zetaboards - forums

What i would like my code to do is...

Posted Image - Where it says Rss Feed, what I really would like to display is - - -> Posted Image

Only 3 recent skills level'd up from Antartika's Skills as you can see there is a RSS Feed automatically placed, all i would like is to place it right below where i stated.

IF possible in "Profile Fields" maybe?

so all a person has to do is go to their runescape account and click on the RSS Feed page and use it's LINK and it would work?

Is that possible or?
Offline Profile Goto Top
 
Replies:
DaPizzaMan
Member Avatar
#TeamSupport

We will need a board URL to resolve this matter.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
PROFILE_FIELD_NAME must match the exact profile field name, it is case-sensitive.
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
very nice thank you cory! but here's just one last thing:

Posted Image

Is there any chance i can decrease the size of the font? to make it like...fit all in a box or?
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I could be wrong, but I don't think you can modify the contents of an iframe that is not from the same window location.
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
hm that's lame...:/ is there like any website which i can use and make the dimensions and just add it via there or? like a widget?
Edited by antartika, Aug 13 2015, 06:48 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Your best option would probably be to relocate the iframe where it can have a greater width, because no matter what page you embed with an iframe it will show the entirety of the page.
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
hmm okay...i was thinking where the signature is then? on the right hand side? if that's possible...although i wouldn't know can it be done via profile field lol can be same size as my current signature below me lol 400x [horizontal] and like 300 vertical maybe? or idk..lol
Edited by antartika, Aug 13 2015, 06:54 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
http://i.imgur.com/oXDzwVW.png

So like that?
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
man ur a badass LOL, yeah split :D exactly like that
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Try this instead:
Code:
 
<script type="text/javascript">
//<![CDATA[
$(function() {
var fName = 'PROFILE_FIELD_NAME';

$('table.topic dl.user_profile dt:contains(' + fName + ')').next('dd').each(function() {
$(this).prev('dt').andSelf().hide();
var URL = $(this).text();
$(this).parents('tr:has(> td.c_user)').next('tr:has(td.c_sig)').find('td.c_sig').after('<td class="rFrame c" style="width: 50%"><iframe src="' + URL + '" width="400" height="300"></iframe></td>').css('width', '50%');
});

if ($('td.rFrame').length) {
$('table.topic th, td.c_view, td.c_foot').attr('colspan', '3');
$('td.c_postinfo, td.c_post, td.c_footicons, td.c_nosig').attr('colspan', '2');
}
});
//]]>
</script>
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
iloveyou! thanks cory :D but is there a way that the topic text above it doesn't like hmm ;/ not go down? like ill explain by picture:

Posted Image

see how the text is like

text enter
text
enter?

lol cant it be like normal where you just write across?
Edited by antartika, Aug 13 2015, 08:03 PM.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
You're saying the text you input into the post was originally all on one line, but when you added this code it started adding random line-breaks to the post?
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
yeah thats correct lol and im sorry lol! hard @ explaining lmao
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
I think I see why. Can I see a URL to that post?
Offline Profile Goto Top
 
antartika
Member Avatar
Member
[ *  * ]
register if ya need to and i can remove ya later lols
Edited by antartika, Aug 13 2015, 09:27 PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2