vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - AME'fy - Videos on your profile pages (https://vborg.vbsupport.ru/showthread.php?t=231814)

The Geek 12-31-2009 10:00 PM

AME'fy - Videos on your profile pages
 
1 Attachment(s)
This add on for AME3 will allow you to spruce the hell out of your member profiles by telling AME3 to parse your members custom profile fields for videos.
  • You can place videos in 6 different positions in the sidebar
  • You can place videos in tabs
  • You can have more than one video in spot
  • You can randomly select a video to show (by assigning a couple profile fields to a position and choosing the 'random' option)

Note that AMEFY parses pre-set custom profile fields. It requires at urls are stored in a custom profile field. AMEFY will not create the custom field(s) for you. I recommend using a textbox and setting the field to private so it doesnt display the text when people view their profile.

Install: The same as AME really. Upload the contents to forums and import the includes/xml/product-amefy.xml

See first post for configuration examples

Change log

Version 1.0.1 - released Jan 2, 2010
  • Rewrote most of the code to tighten it up. Much swifter now
  • Created cached of usable fieldids
  • Made it so users werent presented with [video] tags. Looks much nicer now.
  • Cleaned up template
Version 1.0.2 - released Jan 17, 2010
  • Fixed bug that caused error if you hadn't configured system first.
Version 1.0.4 - released Apr 13, 2010
  • Updated profile tab locations so videos would show in tabs again.
  • Updated system to NOT show a block if no video is entered.
nJoy

The Geek 01-01-2010 12:10 PM

1 Attachment(s)
Quickstart
  1. Install
  2. Create one or more Custom Profile Fields to hold the video URL(s).
  3. Broswe to your AME CP in your Admin CP. There will be a new option called AMEFY. Click it.
  4. Click Add New
  5. Enter the settings (pretty self explanatory).
  6. Edit your profile and enter one or more links into the custom profile field(s) you created and save.
  7. Go behold the beauty of your profile.

Quickfacts
  • You can have multiple links in a custom profile field. Just make sure that you make the profile field large enough to house a lot of text (multiple line textboxes are good for this)
  • You can display a random video a couple of ways. Either have multiple profile fields assigned to an AMEFY entry or create a multi line textbox and allow users to enter multiple URLs. AMEFY can then randomly select one of those they entered when their profile is viewed.

Attached are a couple quick examples of configurating profile fields to use with AMEFY

Here is an example of how to create and set up a single AMEFY. First shot is a screenie of the custom profile field, the second is of me setting it up in AMEFY.
Attachment 108737 Attachment 108735

Here is an example where I have told AMEFY to combined 2 profile fields into the same group. These will display in their own tab.

Attachment 108734


Here is an example of setting up a large multi line text box and telling AMEFY to randomly select one of the URL(s) found in it.
Attachment 108736 Attachment 108733

yahooooh 01-01-2010 01:43 PM

thank you for this
can i make it only to parse certain video site link

The Geek 01-01-2010 02:01 PM

Quote:

Originally Posted by yahooooh (Post 1943984)
thank you for this
can i make it only to parse certain video site link

Out of the box it will parse all of the sites that your vB4 and/or AME3 will. Saying that, just use the Regular Expression setting of the profile field (i.e. enter 'youtube' into the value to only have youtube URLs in there).

mitch84 01-01-2010 02:33 PM

thank you!

SLY LS1 01-01-2010 03:14 PM

for some reason its not adding the link in the admin CP ?

The Geek 01-01-2010 03:43 PM

Quote:

Originally Posted by SLY LS1 (Post 1944062)
for some reason its not adding the link in the admin CP ?

Not sure what you mean. You mean it doesn't seem like AMEFY is saving the entry? Can you attache a screenshot of the entry?

AzzidReign 01-01-2010 03:48 PM

This is great! Just what I've been looking for!

Thank you!

The Geek 01-01-2010 04:04 PM

Thanks to the douche bag that just voted this 1. Love busting my ass for some numb nut to be so pathetic. Am assuming since there are really no issues posted that it must be another mod author? Hmmm. Gotta love this place some times.

On that note, it is generally a common courtesy to click installed if you installed the modification.

Thanks

Basboss 01-01-2010 05:02 PM

I love you


Opps, I love it :D

abdobasha2004 01-01-2010 06:06 PM

very nice, thanks

Hornstar 01-01-2010 06:54 PM

tagged for when I upgrade. You've outdone yourself again ^^

VonDoom 01-01-2010 08:54 PM

Quote:

Originally Posted by The Geek (Post 1944097)
Thanks to the douche bag that just voted this 1. Love busting my ass for some numb nut to be so pathetic. Am assuming since there are really no issues posted that it must be another mod author? Hmmm. Gotta love this place some times.

On that note, it is generally a common courtesy to click installed if you installed the modification.

Thanks

Ive been complaining about this for a month now. we should be rating these products on there abilities to do as described not weather we like the author or dont care for the product. Either way i see the legitimate members have rated it back up. good work and is working perfectly. Installed, rated and nominated.

SLY LS1 01-01-2010 09:12 PM

Quote:

Originally Posted by The Geek (Post 1944083)
Not sure what you mean. You mean it doesn't seem like AMEFY is saving the entry? Can you attache a screenshot of the entry?

I'm saying there is no link in my admin CP... The admin amefy.php file, where is the link supposed to show? I've uploaded the file and refreshed the ACP but I can't find the link

Digital Jedi 01-01-2010 09:12 PM

Quote:

Originally Posted by The Geek (Post 1944097)
Thanks to the douche bag that just voted this 1. Love busting my ass for some numb nut to be so pathetic. Am assuming since there are really no issues posted that it must be another mod author? Hmmm. Gotta love this place some times.

On that note, it is generally a common courtesy to click installed if you installed the modification.

Thanks

I occasionally click the buttons too fast and automatically click the left most icon thinking it's the highest in rank, only to realize after I've submitted that's it non-linear. But I sear, it wasn't me....this time... >_>

VonDoom 01-01-2010 09:18 PM

Quote:

Originally Posted by SLY LS1 (Post 1944346)
I'm saying there is no link in my admin CP... The admin amefy.php file, where is the link supposed to show? I've uploaded the file and refreshed the ACP but I can't find the link

This Mod is dependent on AME3 to work.. Have you installed that hack on your forum yet? There wont be any setting in your ACP until you install AME3

The Geek 01-01-2010 09:25 PM

Quote:

Originally Posted by VonDoom (Post 1944354)
This Mod is dependent on AME3 to work.. Have you installed that hack on your forum yet? There wont be any setting in your ACP until you install AME3

If it is installed, check the last option in the AME CP menu. Thats where you will find the link to AME'fy CP

The Geek 01-01-2010 10:30 PM

FWIW, I just uploaded version 1.0.1

This is a heavy rework of the base code to make it much more lean and mean. Since its such an overhaul, I left version 1.0.0 up just in case - however I really can't see the need for it.

The new code base is much more slick and fast. It also ensures users aren't presented with [video] tags after saving. IMO, much cleaner. Also added a bit more text in the settings area to try and guide you.

Anyhoo, looking forward to your feedback. Personally Im pretty chuffed with how this turned out. Its not just a simple 'stick a video here' mod. You can get pretty creative with it. Will be interesting what we will see when AME3 definitions start to come out :D

nJoy

SLY LS1 01-01-2010 10:35 PM

Quote:

Originally Posted by VonDoom (Post 1944354)
This Mod is dependent on AME3 to work.. Have you installed that hack on your forum yet? There wont be any setting in your ACP until you install AME3


Oh hahaha, how stupid am I, I thought this was the complete mod... lol

Ok thanks for that, Ill go install the AME3 mod..

Thought I was going mad for awhile

Thanks people

ddaybofb 01-01-2010 11:03 PM

For some reason the video won't shrink on my profile page.

I have AME3 installed and working, installed this addon mod and followed ur steps but the video shows up whole.

Thanks

Edit: nvm i realized i forgot to put px on the end of the number lol

The Geek 01-01-2010 11:20 PM

Glad its sorted you guys... can you please do me a favor and click install?

Thanks

ShawnV 01-02-2010 06:18 PM

Works great, thank you.

Hopefully there will be some updated AME definitions soon so people can use this to post a music playlist to their profile.

The Geek 01-02-2010 06:53 PM

Quote:

Originally Posted by ShawnV (Post 1945191)
Works great, thank you.

Hopefully there will be some updated AME definitions soon so people can use this to post a music playlist to their profile.

I've been looking for a good playlist to do a definition for, but haven't found a decent one yet. Most of Playlist.com is no good outside the US (and it can't really be done with vB4 anyway :( ). Looked up imeem, but thats now myspace and I can't be arsed to set up an account just to do a definition. If you guys have some suggestions, what I need is:

A few URLs as an example of what the user would paste into thier message/profile field
An example of the embed code.

Then Ill sort something out :D

Digital Jedi 01-03-2010 01:11 AM

Quote:

Originally Posted by The Geek (Post 1945220)
I've been looking for a good playlist to do a definition for, but haven't found a decent one yet. Most of Playlist.com is no good outside the US (and it can't really be done with vB4 anyway :( ). Looked up imeem, but thats now myspace and I can't be arsed to set up an account just to do a definition. If you guys have some suggestions, what I need is:

A few URLs as an example of what the user would paste into thier message/profile field
An example of the embed code.

Then Ill sort something out :D

Currently, I've got playlists working for Jiwa's music player and their playlists which I'm about to release here in a few days for 2.5. I'll send you some links and the definitions if you'd like. What are the limitations with definitions now, by the way? When I'm done with these, I'd like to know what I'm getting into with another thread. https://vborg.vbsupport.ru/external/2010/01/71.png

CrosseyedGamer 01-03-2010 04:35 AM

this is just badass. Our user loved having the youtube video in their profiles. This puts that to shame. Great job on making this thing. Thanks!!

dangerin 01-03-2010 08:04 AM

i see two xml files.
what is to import in VB4 ?
after this i must upload the other files via ftp?
but this operation do not compromise the modifcatione that i've done to activate correctly ame3 deleteing the file in xml how in istructions has wrote?
thanks

The Geek 01-03-2010 10:11 AM

Quote:

Originally Posted by dangerin (Post 1945728)
i see two xml files.
what is to import in VB4 ?
after this i must upload the other files via ftp?
but this operation do not compromise the modifcatione that i've done to activate correctly ame3 deleteing the file in xml how in istructions has wrote?
thanks

Use the 1-0-1 package. Unzip and upload the contents of the upload_into_forums folder into your forums.
The product file to import is includes/xml/product-amefy.xml
If AME3 is installed and functional, nothing more to do other than configure it. The link to AMEFY will be in your AME CP menu.


Quote:

Originally Posted by CrosseyedGamer (Post 1945611)
this is just badass. Our user loved having the youtube video in their profiles. This puts that to shame. Great job on making this thing. Thanks!!

Thanks :) I am really chuffed with how this one turned out. Especially the ease in which you can display random entries. Makes user profiles seem more dynamic.

Quote:

Originally Posted by Digital Jedi (Post 1945473)
Currently, I've got playlists working for Jiwa's music player and their playlists which I'm about to release here in a few days for 2.5. I'll send you some links and the definitions if you'd like. What are the limitations with definitions now, by the way? When I'm done with these, I'd like to know what I'm getting into with another thread. https://vborg.vbsupport.ru/external/2010/01/71.png

Its easier to do the definitions because its more cut and dry. With AME2x you could make almost any site work, however because vB4 is rendering the video with AME3 you can either easily do it, or just plain not :)

in AME3 there aren't parameters, its 'code'.
There is 1 regex to pull the code from the URL or match the URL if you are going to scrape (extract)
There is 1 optional regex to scrape the destination site for the code
The embed code takes 1 parameter: {vb:raw code}

Thats about it. :)

Big-Pete 01-03-2010 11:07 AM

Installed and voted as Excellent..

dangerin 01-03-2010 01:04 PM

really thanks geek.. installed and now i'm going to see how it effect go...
can i ask you how to upgrade the ame 3 to the last patch because also in the folder there are more files and i do not see instructios how to do surely this.
thank newly ..

TandyServices 01-03-2010 03:39 PM

Maybe I am doing something wrong but after I logout of the site I get this??

Code:

Warning: Invalid argument supplied for for each() in [path]/includes/amefy_class.php on line 176
Message
Unable to add cookies, header already sent.
File: /home5/mydomain/public_html/includes/class_core.php
Line: 4372

Never logged out until I added this:
https://vborg.vbsupport.ru/showthread.php?t=231916

So it might just be a mismatch in the mods???

The Geek 01-03-2010 03:42 PM

Quote:

Originally Posted by TandyServices (Post 1946064)
Maybe I am doing something wrong but after I logout of the site I get this??

Code:

Warning: Invalid argument supplied for for each() in [path]/includes/amefy_class.php on line 176
Message
Unable to add cookies, header already sent.
File: /home5/mydomain/public_html/includes/class_core.php
Line: 4372

Never logged out until I added this:
https://vborg.vbsupport.ru/showthread.php?t=231916

So it might just be a mismatch in the mods???

hmm. Don't think so. Looks like there are no AME'fy entries. Ill put in a catch for that, but the error should go away as soon as you have at least 1 entry. Let me know either way.

TandyServices 01-03-2010 03:45 PM

Yea I did not fulfill this mod.. Still thinking of how I would like to do it.. So you are right.. Thanks for the quick reply..

The Geek 01-03-2010 03:46 PM

Quote:

Originally Posted by dangerin (Post 1945915)
really thanks geek.. installed and now i'm going to see how it effect go...
can i ask you how to upgrade the ame 3 to the last patch because also in the folder there are more files and i do not see instructios how to do surely this.
thank newly ..

I think I addressed this in the AME3 thread. If not, its in the readme.

HTHs

dangerin 01-03-2010 04:01 PM

i've done correctly the update.. thanks everywhere..
now i'm going to test all the new fix and bug solved.. .

dangerin 01-03-2010 06:02 PM

Good evening..
after unzipping 1.0.1 folder and update between filezilla ftp when i log out from site i receive this errror message :

Warning: Invalid argument supplied for foreach () in [path] / includes / amefy_class.php on line 176
VBulletin Message

You can not add cookies, header already sent.
File: / home /*****/ domains /*****.***/ public_html / vbulletin / includes / class_core.php
Line: 4372

do you know how can i resolve this problem..
i've reached to read in php file but i'm not able tu inderstand as well.
thank at all

The Geek 01-03-2010 06:17 PM

read a couple posts above yours. Its means you don't have any entries in the system yet.

dangerin 01-03-2010 06:26 PM

i've the same problem also for registration of new users and it is a big problem.
how can i create any entries? i think that'is really good how product and i do not want to uninstall this .
i've read the post but i do not understand how to solve it..
sorry if i'm not really intelligent to do this alone. .
i've seen a lot of php code to change with another and i do not find when i serach with search function on template.
also i do not undersattand what is the connection about amefy and the users log in .
thank newly for all

dangerin 01-03-2010 06:48 PM

firstly to change the login i need to understand why i MUST modify it and what are the entries that you say that i do not have in the system yet!
i have a lot of articles in cms but forum and blog i do not use actually.
is this that you mean?
because i've created comment in articles and also in blog but the situation is the same.
help me bacuse actually all users can not register to site .
really thank

dangerin 01-03-2010 06:55 PM

if there is not a solution how can i uninstall this product? ( is sifficient to delete from manage prducts?? )
i absoluty prefere to mantain this product but if is impossible i must do this action.
thanks at all and i hope to receive informations about this .
good evening / night

dangerin 01-03-2010 07:05 PM

i go on with my test and i've done all that is indicated in the post that you have indicated.. but the error when i log out form site or when i try to register a new user is ever the same :

Warning: Invalid argument supplied for foreach () in [path] / includes / amefy_class.php on line 176
VBulletin Message

You can not add cookies, header already sent.
File: / home /*****/ domains /*****.***/ public_html / vbulletin / includes / class_core.php
Line: 4372

now if i must uninstall the product the modify that i've done to header template can be an other problem?

sorry for so more messages but i'm preoccupated for this night why tomorrow is the inauguration of new site.

thank


All times are GMT. The time now is 10:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01457 seconds
  • Memory Usage 1,852KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete