PDA

Afficher la version complète : Modifications majeures Gestionnaire de Liens et Téléchargements (GLT)



Allan
19/01/2006, 13h05
Description

Ce hack crée une base de données de liens et de téléchargements.



Remerciements et support / Thanks and support

Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.



vBulletin-Ressources et son équipe offrira du support vis à vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.



vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.

Conception

Auteur du Hack / Author Of Hack : Andrew

Source / Link of Thread: http://www.vbulletin.org/forum/showthread.php?s=&threadid=91107 (http://url%20a%20mettre%20vers%20le%20sujet%20d%27origine/)
Version vBulletin Requise / Version vBulletin Required : vB 3.5.x

Testé / Tested: oui

Traducteur / Translator: Allan



Copyright © 2004-2005 vBulletin-Ressources.com - Tous droits réservés / Copyright © 2004-2005 vBulletin-Ressources.com - All Rights Reserved

La M@lice
19/01/2006, 14h36
Merci tous plein

neon
07/02/2006, 15h36
merci les amis ;)

neon
07/02/2006, 15h38
:( c'est pas fr

Allan
07/02/2006, 19h13
:( c'est pas fr

Heu, si je viens de vérifiér, il est bien en francais.

A tu importer le produit ?

Geralddon
08/02/2006, 12h18
Joli hack

je le prends en vous remerciant

foxys
29/06/2006, 00h43
thx pour la traduction
je vais le prendre :)

LesT@T
29/06/2006, 19h50
Sympa comme sytème, merci beaucoup de la trad , je vais voir si ça s'intègre bien à mon fofo, encore merci!


Edit:
J'ai un bug lorsque je cherche à ajouter le produit:


Warning: Unknown(includes/local_links_init.php): failed to open stream: No such file or directory in /admincp/plugin.php(1223) : eval()'d code on line 3

Fatal error: (null)(): Failed opening required 'includes/local_links_init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vitellia/public_html/admincp/plugin.php(1223) : eval()'d code on line 3
Quelqu'un voit d'où ça peut venir?

OlijO
01/07/2006, 15h20
Merci je vais tester :d

Ramses
04/03/2009, 19h36
Je déterre un vieux post, mais j'aurais une question à poser sur la dernière version 2.30 beta1

Je voudrais intégrer LDM avec vBSEO.

Dans le options de LDM, il y a cela :

http://www.imagefacile.com/img/rexf5_glt_vbseo.jpg


Je ne sais pas quoi mettre dans seo_title, en sachant que mon forum est sur le a la racine.

Dans les explications du htaccess, il y a cela :


# Sample mod_rewrite rules for LDM seo_friendly standard and extended modes

RewriteEngine on

# --------------------------------------------------------------------------------------------------------------------
#
# If you set *seo_title*, uncomment the next line and change seo_title to your own value
#
#RewriteRule ^(.*)seo_title(.*) /$1local_links$2

# ------------ Set 1 -------------------------------------------------------------------------------------------------
#
# Uncomment this set to use normal mode seo in an .htaccess file placed in the site's root directory
# or in the httpd.conf / httpd-vhosts.conf file
#
# - normal mode
#
#RewriteRule ^(.*)local_links/links/([^0-9].+)$ /$1$2 [R,L]
#RewriteRule ^(.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [R,L]
#RewriteRule ^(.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [R,L]
#RewriteRule ^(.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [R,L]
#RewriteRule ^(.*)local_links/play/([0-9]+)/([0-9]+)$ /$1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
#RewriteRule ^(.*)local_links/links/([0-9]+)(\?page=[0-9]+)$ /$1local_links.php?catid=$2&page=$3 [R,L]
#RewriteRule ^(.*)local_links/play/([0-9]+)/([0-9]+)(\?page=[0-9]+)$ /$1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
#
# ------------ Set 1 -------------------------------------------------------------------------------------------------

# ------------ Set 2 -------------------------------------------------------------------------------------------------
#
# Uncomment this set to use extended mode seo in an .htaccess file placed in the site's root directory
# or in the httpd.conf / httpd-vhosts.conf file
#

#RewriteRule ^(.*)/local_links/links/c-[^/]+-([0-9]+)$ /$1/local_links.php?catid=$2 [R,L]
#RewriteRule ^(.*)/local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ /$1/local_links.php?catid=$2&linkid=$3 [R,L]
#RewriteRule ^(.*)/local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ /$1/local_links.php?action=jump&catid=$2&id=$3 [R,L]
#RewriteRule ^(.*)/local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ /$1/local_links.php?action=play&catid=$2&linkid=$3 [R,L]
#RewriteRule ^(.*)/local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ /$1/local_links.php?catid=$2&page=$3 [R,L]
#RewriteRule ^(.*)/local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ /$1/local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]
#
# ------------ Set 2 -------------------------------------------------------------------------------------------------

# ------------ Set 3 -------------------------------------------------------------------------------------------------
#
# Uncomment this set to use normal mode seo in an .htaccess file placed in the forum directory
# Change 'forum' in the second part of the rules with the name of your forum directory

#RewriteRule ^local_links/links/([^0-9].+)$ /forum/$1 [R,L]
#RewriteRule ^local_links/links/([0-9]+)$ /forum/local_links.php?catid=$1 [R,L]
#RewriteRule ^local_links/links/([0-9]+)/([0-9]+)$ /forum/local_links.php?catid=$1&linkid=$2 [R,L]
#RewriteRule ^local_links/jump/([0-9]+)/([0-9]+)$ /forum/local_links.php?action=jump&id=$1&catid=$2 [R,L]
#RewriteRule ^local_links/play/([0-9]+)/([0-9]+)$ /forum/local_links.php?action=play&catid=$1&linkid=$2 [R,L]
#RewriteRule ^local_links/links/([0-9]+)(\?page=[0-9]+)$ /forum/local_links.php?catid=$1&page=$2 [R,L]
#RewriteRule ^local_links/play/([0-9]+)/([0-9]+)(\?page=[0-9]+)$ /forum/local_links.php?action=play&catid=$1&linkid=$2&page=$3 [R,L]
#
# ------------ Set 3 -------------------------------------------------------------------------------------------------

# ------------ Set 4 -------------------------------------------------------------------------------------------------
#
# Uncomment this set to use extended mode seo in an .htaccess file placed in the forum directory

#RewriteRule ^local_links/links/c-[^/]+-([0-9]+)$ /forum/local_links.php?catid=$1 [R,L]
#RewriteRule ^local_links/links/c-[^/]+-([0-9]+)/([0-9]+)$ /forum/local_links.php?catid=$1&linkid=$2 [R,L]
#RewriteRule ^local_links/jump/c-[^/]+-([0-9]+)/([0-9]+)$ /forum/local_links.php?action=jump&catid=$1&id=$2 [R,L]
#RewriteRule ^local_links/play/c-[^/]+-([0-9]+)/([0-9]+)$ /forum/local_links.php?action=play&catid=$1&linkid=$2 [R,L]
#RewriteRule ^local_links/links/c-[^/]+-([0-9]+)(\?page=[0-9]+)$ /forum/local_links.php?catid=$1&page=$2 [R,L]
#RewriteRule ^local_links/play/c-[^/]+-([0-9]+)/([0-9]+)(\?page=[0-9]+)$ /forum/local_links.php?action=play&catid=$1&linkid=$2&page=$3 [R,L]

#
# ------------ Set 4 -------------------------------------------------------------------------------------------------
Si quelqu'un pouvait m'aiguiller, cela serait sympa

Merci pour votre aide

Simon
04/03/2009, 19h46
Bonsoir, tente avec
vbseo.php?

Ramses
04/03/2009, 19h49
je devrais mettre cela dans seo_title ?

Simon
04/03/2009, 19h54
Oui oui, je parlais de la valeur à mettre dans cette option.

Ramses
04/03/2009, 19h55
J'ai donc mis vbseo.php dans seo_title

Ensuite dans mon htaccess, j'ai mis



RewriteRule ^(.*)seo_title(.*) /$1local_links$2

RewriteRule ^(.*)local_links/links/([^0-9].+)$ /$1$2 [R,L]
RewriteRule ^(.*)local_links/links/([0-9]+)$ /$1local_links.php?catid=$2 [R,L]
RewriteRule ^(.*)local_links/links/([0-9]+)/([0-9]+)$ /$1local_links.php?catid=$2&linkid=$3 [R,L]
RewriteRule ^(.*)local_links/jump/([0-9]+)/([0-9]+)$ /$1local_links.php?action=jump&id=$2&catid=$3 [R,L]
RewriteRule ^(.*)local_links/play/([0-9]+)/([0-9]+)$ /$1local_links.php?action=play&catid=$2&linkid=$3 [R,L]
RewriteRule ^(.*)local_links/links/([0-9]+)(\?page=[0-9]+)$ /$1local_links.php?catid=$2&page=$3 [R,L]
RewriteRule ^(.*)local_links/play/([0-9]+)/([0-9]+)(\?page=[0-9]+)$ /$1local_links.php?action=play&catid=$2&linkid=$3&page=$4 [R,L]


Mais hélas, le lien fournit est : http://xxxx.net/vbseo.php/links/9

Simon
04/03/2009, 20h00
J'ai jeté un oeil à ce hack. Je crains qu'il ne sois pas vraiment adapté pour vBSeo.
Pourquoi n'utiliserais-tu pas Downloads II ?

Ramses
04/03/2009, 20h12
le problème est que les fichiers sont déjà dans la base de GLT

Ramses
04/03/2009, 21h12
Je viens d'essayer Dowloads II et vBSEO ne le voit pas du tout

Ramses
05/03/2009, 06h56
Si je mets vbseo.php, lorsque je clique sur un lien de GLT, j'ai "Page Not Found"

Simon
05/03/2009, 07h34
Abracabra :D:
https://www.vbseo.com/wiki/vBSEO_Compatible_Hack:Downloads_II
Regarde vers la fin de la page, tu as un petit ajou à faire dans le .htaccess pour que le rewriting fonctionne parfaitement.

Ramses
05/03/2009, 07h40
Je vois bien, mais le problème, c'est que tous mes fichiers sont sous GLT

Fred
05/03/2009, 12h19
le mieux serait de posé ta question sur le site de vbseo non?
Sinon si ca peu aider => http://www.vbseo.com/tools/crr/

Edit : Sinon ramses désolé pour ton formulaire mais j'ai pas eu trop le temps cette semaine dés que j'ai fini ce que j'ai a faire je m'y met ;)

Ramses
05/03/2009, 14h21
Merci Fred

Pas de pb pour le formulaire, suis pas préssé