• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Tags For Imported videos

Started by CostelM,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CostelMTopic starter

Salutare

Am o urmatoare problema...La import de clipuri de pe youtube nu se importa si tag-urile,probabil de la youtube api dar se poate genera din titlu daca nu se poate importa.Cand ati putea face modificarea aceasta?
fara ea site-ul meu nu poate functiona deoarece la related video atunci cand intri pe un video nu apare decat aceleasi clipuri tot timpul,nu se schimba nimic....tot aceleasi 16 sugesti tot timpul. asta din cauza tagurilor.
Ar mai fi o chestie misto daca la related videos in pagina video sa nu mai arate cele deja vizionate decat daca dupa o perioada de timp la cei inregistrati iar la cei ne-inregistrati un cookie de vreo 60 zile.

Cam pe cand se va putea face modificarea la tag-uri?

Costel Musteata

www.fail-win.com
  •  

PHPVibe A.

Salutare,

Am facut un fallback acum, va fi disponibil de indata ce patchul 16 va fi in store.




CostelMTopic starter

Am facut upgrade dar problema este ca lista de sugesti din pagina /video este in aceasi tot timpul si nu se schimba dupa tag-uri(nu ii related)si este in ordinea orei si datei in care sa facut embedul.

Si la tag-uri am obs ca face tag din titlu cum am sugerat,dar sa omis un aspect f important,nu face tag ca si tot titlu doar cuvintele separat,si inca o chesti care ar ajuta mult sa faca un tag si din denumirea categoriei din care face parte.
.... cv in modelul asta --->  Ex titlu:  Best fail compilation of 2012

Ex de generare tag-uri: Tag 1: "Best Fail compilation of 2012"  (titlu intreg)
                                 Tag 2: "fail compilations"   <---asa se numeste categoria din care face parte.
                                 Tag 3: "best"
                                 tag 4: "fail"   
                                       etc
Sa existe niste exceptii la cuvintele de genul:the,of,and,  daca se poate si din sectiune moderator sa adaugam noi cuvintele sau semenele care sa nu le includa tagurile.


Eu zic ca ar ajuta mult la seo si la sugesti astfel incat utilizatorul sa fie tot timpul tinut in site si sa nu fie aceasi sugestii tot timpul chiar daca utilizatorul schimba video-ul.In cazul asta utilizatorul pleaca daca vede ca nu exista cv dinamic de fiecare data cand schimba video-ul(asa ca la youtube).

Scz daca va bat la cap...dar pt mine sunt importante aceste modificari.


Stima,

Costel.M


  •  

PHPVibe A.

Salutare,
exista deja o functie in lib/functions.php
function removeCommonWords($input){
$commonWords = array('a','able','about','above','abroad','according','accordingly','across','actually','adj','after','afterwards','again','against','ago','ahead','ain\'t','all','allow','allows','almost','alone','along','alongside','already','also','although','always','am','amid','amidst','among','amongst','an','and','another','any','anybody','anyhow','anyone','anything','anyway','anyways','anywhere','apart','appear','appreciate','appropriate','are','aren\'t','around','as','a\'s','aside','ask','asking','associated','at','available','away','awfully','b','back','backward','backwards','be','became','because','become','becomes','becoming','been','before','beforehand','begin','behind','being','believe','below','beside','besides','best','better','between','beyond','both','brief','but','by','c','came','can','cannot','cant','can\'t','caption','cause','causes','certain','certainly','changes','clearly','c\'mon','co','co.','com','come','comes','concerning','consequently','consider','considering','contain','containing','contains','corresponding','could','couldn\'t','course','c\'s','currently','d','dare','daren\'t','definitely','described','despite','did','didn\'t','different','directly','do','does','doesn\'t','doing','done','don\'t','down','downwards','during','e','each','edu','eg','eight','eighty','either','else','elsewhere','end','ending','enough','entirely','especially','et','etc','even','ever','evermore','every','everybody','everyone','everything','everywhere','ex','exactly','example','except','f','fairly','far','farther','few','fewer','fifth','first','five','followed','following','follows','for','forever','former','formerly','forth','forward','found','four','from','further','furthermore','g','get','gets','getting','given','gives','go','goes','going','gone','got','gotten','greetings','h','had','hadn\'t','half','happens','hardly','has','hasn\'t','have','haven\'t','having','he','he\'d','he\'ll','hello','help','hence','her','here','hereafter','hereby','herein','here\'s','hereupon','hers','herself','he\'s','hi','him','himself','his','hither','hopefully','how','howbeit','however','hundred','i','i\'d','ie','if','ignored','i\'ll','i\'m','immediate','in','inasmuch','inc','inc.','indeed','indicate','indicated','indicates','inner','inside','insofar','instead','into','inward','is','isn\'t','it','it\'d','it\'ll','its','it\'s','itself','i\'ve','j','just','k','keep','keeps','kept','know','known','knows','l','last','lately','later','latter','latterly','least','less','lest','let','let\'s','like','liked','likely','likewise','little','look','looking','looks','low','lower','ltd','m','made','mainly','make','makes','many','may','maybe','mayn\'t','me','mean','meantime','meanwhile','merely','might','mightn\'t','mine','minus','miss','more','moreover','most','mostly','mr','mrs','much','must','mustn\'t','my','myself','n','name','namely','nd','near','nearly','necessary','need','needn\'t','needs','neither','never','neverf','neverless','nevertheless','new','next','nine','ninety','no','nobody','non','none','nonetheless','noone','no-one','nor','normally','not','nothing','notwithstanding','novel','now','nowhere','o','obviously','of','off','often','oh','ok','okay','old','on','once','one','ones','one\'s','only','onto','opposite','or','other','others','otherwise','ought','oughtn\'t','our','ours','ourselves','out','outside','over','overall','own','p','particular','particularly','past','per','perhaps','placed','please','plus','possible','presumably','probably','provided','provides','q','que','quite','qv','r','rather','rd','re','really','reasonably','recent','recently','regarding','regardless','regards','relatively','respectively','right','round','s','said','same','saw','say','saying','says','second','secondly','see','seeing','seem','seemed','seeming','seems','seen','self','selves','sensible','sent','serious','seriously','seven','several','shall','shan\'t','she','she\'d','she\'ll','she\'s','should','shouldn\'t','since','six','so','some','somebody','someday','somehow','someone','something','sometime','sometimes','somewhat','somewhere','soon','sorry','specified','specify','specifying','still','sub','such','sup','sure','t','take','taken','taking','tell','tends','th','than','thank','thanks','thanx','that','that\'ll','thats','that\'s','that\'ve','the','their','theirs','them','themselves','then','thence','there','thereafter','thereby','there\'d','therefore','therein','there\'ll','there\'re','theres','there\'s','thereupon','there\'ve','these','they','they\'d','they\'ll','they\'re','they\'ve','thing','things','think','third','thirty','this','thorough','thoroughly','those','though','three','through','throughout','thru','thus','till','to','together','too','took','toward','towards','tried','tries','truly','try','trying','t\'s','twice','two','u','un','under','underneath','undoing','unfortunately','unless','unlike','unlikely','until','unto','up','upon','upwards','us','use','used','useful','uses','using','usually','v','value','various','versus','very','via','viz','vs','w','want','wants','was','wasn\'t','way','we','we\'d','welcome','well','we\'ll','went','were','we\'re','weren\'t','we\'ve','what','whatever','what\'ll','what\'s','what\'ve','when','whence','whenever','where','whereafter','whereas','whereby','wherein','where\'s','whereupon','wherever','whether','which','whichever','while','whilst','whither','who','who\'d','whoever','whole','who\'ll','whom','whomever','who\'s','whose','why','will','willing','wish','with','within','without','wonder','won\'t','would','wouldn\'t','x','y','yes','yet','you','you\'d','you\'ll','your','you\'re','yours','yourself','yourselves','you\'ve','z','zero');
return preg_replace('/\b('.implode('|',$commonWords).')\b/','',$input);
}


Care poate fi aplicata si acolo. O sa ma uit exact cum se poate imbunatati, problema e ca daca matchul e mare, si loadul e mare...

CostelMTopic starter

ok...multumesc.


Eu am mai avut un script de video candva si am avut aceasta problema si am remediato in felul urmator:
In lista de sugestii din pagina /video aparea in felul urmator criterii:Related,Random,By user

La related : erau afisate doar cele din acelasi canal/categorie dar nu si cele vizionate deja
La random :erau aleatori dar nu afisa cele deja vizionate
La by user: .....se intelege

in admin care din acestea 3 sa fie default...in atasament se poate vedea o schita cum

Stiu ca doar asa am putut rezolva sa fie site-ul tot timpul "fresh" cand vizualizai clipuri si userul nu se intorcea dupa vizualizarea unui clip pe pagina home sa caute el alt clip pt ca pe pagina video se reperau aceleasi sugestii.
  •  

 

Similar topics (7)

Important Announcement: PHPVibe Video Sharing CMS End of Life

Started by Marius P.


Replies: 1
Views: 36222

The problem of video viewing PHPVibe 5.0

Started by Nayn


Replies: 25
Views: 63729

embed video does not work on v5

Started by neospider69


Replies: 6
Views: 43900

when slecting to unpublish music mp3 - next page says unpublished video ?

Started by spirog


Replies: 2
Views: 3807

insite ads issue when selecting above/below video player location

Started by georgepanaitescu


Replies: 3
Views: 19406

Video that I've uploaded needs to have that value in admin to upload

Started by spirog


Replies: 4
Views: 3049

video,playlist,images, etc. (frontend) select all deselect all reselect all

Started by spirog


Replies: 3
Views: 3237